diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-03-15 20:11:38 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-03-15 20:11:38 -0400 |
| commit | 0f7e3a5395a283251e68d28f26f2891f0b196e65 (patch) | |
| tree | a68ebc8e0224dfa2f339b5d71faf800eae972e02 /init.vim | |
| parent | 0507b921b4e21db6e26beab317ed06d92834da1e (diff) | |
| download | vim-cfg-0f7e3a5395a283251e68d28f26f2891f0b196e65.tar.gz vim-cfg-0f7e3a5395a283251e68d28f26f2891f0b196e65.tar.xz | |
The great purge
Removed all of the plugins adjusted the vimrc a little bit to use
only builtins
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 75 |
1 files changed, 31 insertions, 44 deletions
@@ -28,7 +28,7 @@ inoremap <Up> <NOP> inoremap <Down> <NOP> " Always show status line -set laststatus=2 +" set laststatus=2 " Case insensitive searching by default set ic @@ -49,39 +49,14 @@ set noexpandtab " Maily for the ability to match HTML tags with '%' +" Apparently this is apart of the mainline vim install? Cool. runtime macros/matchit.vim -" Love hate relationship with this thing. I guess it's back -map <C-n> :NERDTreeToggle<CR> - - -" To enable/disable the autocomplete dropdown -nmap <leader> [ :AcpDisable<CR> -nmap <leader> ] :AcpEnable<CR> - -" Gundo -nnoremap <F5> :GundoToggle<CR> -" -" Enable the list of buffers -let g:airline#extensions#tabline#enabled = 1 - -" Show just the filename -let g:airline#extensions#tabline#fnamemod = ':t' - -" This lets you just hit enter instead -" of pressing control-n Some people like it -" personally I'm not that much of a fan -" set completeopt=longest,menuone " Omni completion filetype plugin on set omnifunc=syntaxcomplete#Complete -nmap <F8> :TagbarToggle<CR> - -let g:ctrlp_follow_symlinks = 1 -let g:ctrlp_working_path_mode = 0 - autocmd Filetype python call SetPythonOptions() autocmd Filetype htmldjango call SethtmldjangoOptions() autocmd Filetype json call SetJsonOptions() @@ -98,7 +73,6 @@ function SetMarkdownOptions() set tabstop=4 set shiftwidth=4 set expandtab - AcpDisable endfunction function SetPythonOptions() set tabstop=4 @@ -152,40 +126,29 @@ function SetShellOptions() set smartindent endfunction function SetGoOptions() - " colorscheme acme - " syntax off - " colorscheme 256_noir - AcpDisable + syntax off set nolist set noic set nolist endfunction function SetYamlOptions() - " set listchars=tab:▸\ ,eol:¬,trail:•,space:· - set listchars=tab:▸\ ,eol:¬,trail:• set expandtab + set tabstop=2 set noic endfunction -" This is specifically for Salt's state files 'sls' -autocmd BufNewFile,BufRead *.sls set filetype=yaml - - function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine hi! def link phpDocParam phpType endfunction -augroup phpSyntaxOverride - autocmd! - autocmd FileType php call PhpSyntaxOverride() -augroup END " Backslash l nmap <leader>l :set list!<CR> " If you want listchars set list " set listchars=tab:\|\ -set listchars=tab:▸\ ,eol:¬,trail:• +set listchars=tab:\|\ ,eol:¬,trail:• +" set listchars=tab:▸\ ,eol:¬,trail:• " set listchars=tab:▸\ ,eol:¬ " set listchars=tab:\|\ ,eol:↴ " set listchars=tab:\|\ ,eol:$ @@ -201,10 +164,34 @@ if &term =~ '^screen' endif +set noshowmode +set noruler +set laststatus=0 +set noshowcmd +function! ToggleHiddenAll() + if s:hidden_all == 0 + let s:hidden_all = 1 + set noshowmode + set noruler + set laststatus=0 + set noshowcmd + else + let s:hidden_all = 0 + set showmode + set ruler + set laststatus=2 + set showcmd + endif +endfunction + +nnoremap <S-h> :call ToggleHiddenAll()<CR> + + " Line numbers set nu " Derp +set background=dark syntax on " syntax off -colorscheme distinguished +" colorscheme distinguished |
