diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2020-04-07 00:03:31 -0400 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2020-04-07 00:06:16 -0400 |
commit | 126c79af4b43becba7bf46d40851c7f3f4e79d22 (patch) | |
tree | 9e3b350f29e0f0cc6e721c7101676b7e3a27c826 /nvim/init.vim | |
parent | c65afb13e9a2890f6b2d659a67f4bc054fad766f (diff) | |
download | dotfiles-126c79af4b43becba7bf46d40851c7f3f4e79d22.tar.gz dotfiles-126c79af4b43becba7bf46d40851c7f3f4e79d22.tar.bz2 dotfiles-126c79af4b43becba7bf46d40851c7f3f4e79d22.zip |
cleaning up repo, updating dots
Diffstat (limited to 'nvim/init.vim')
-rw-r--r-- | nvim/init.vim | 145 |
1 files changed, 0 insertions, 145 deletions
diff --git a/nvim/init.vim b/nvim/init.vim deleted file mode 100644 index 2879f44..0000000 --- a/nvim/init.vim +++ /dev/null @@ -1,145 +0,0 @@ -" BEGIN VUNDLE CONFIG -filetype off -set rtp+=~/.vim/bundle/Vundle.vim -call vundle#begin() - -" Vundle, a plugin manager for vim -Plugin 'gmarik/Vundle.vim' - -" gruvbox colorscheme -Plugin 'morhetz/gruvbox' - -" Syntastic syntax checking -" Install developer tools for syntax checking -" Install flake8 for Python PEP8 -Plugin 'scrooloose/syntastic' - -" File tree -" Use :NERDTree to open the tree -Plugin 'scrooloose/nerdtree' - -" Fancy statusbar -" Powerline fonts recommended -Plugin 'bling/vim-airline' -Plugin 'bling/vim-bufferline' - -" Git integration -Plugin 'tpope/vim-fugitive' -Plugin 'airblade/vim-gitgutter' - -" CtrlP fuzzy search -" Use Ctrl+P to search a project for a file -Plugin 'kien/ctrlp.vim' - -" Ansible syntax and indentation -Plugin 'chase/vim-ansible-yaml' - -" Salt syntax and indentation -Plugin 'saltstack/salt-vim' - -" Automatically close parentheses, etc. -Plugin 'Raimondi/delimitMate' - -" Hotkeys for commenting/uncommenting -" g-c-c to toggle a line, g-c-Motion to toggle a motion -Plugin 'tpope/vim-commentary' - -" Markdown Preview -" Use :PrevimOpen while editing Markdown to open a live preview -Plugin 'kannokanno/previm' - -call vundle#end() -filetype plugin indent on -" END VUNDLE CONFIG - -" Allow the use of project-specific vimrc -set exrc -set secure - -" Color scheme -let g:gruvbox_italic=1 -colorscheme gruvbox -set background=dark -syntax on - -" Sane defaults for indentation -" set expandtab -set softtabstop=4 -set shiftwidth=4 -set autoindent - -" Show line numbers -set number - -" Highlight current line -" set cursorline - -" Highlight columns 80 and 120 -"set colorcolumn=80,120 - -" Allow mouse -set mouse=a - -" Spell check -set spell -set spellsuggest=best,10 - -" Wrap searches -set wrapscan -let mapleader = "," - -" Smart search case sensitivity -set ignorecase -set smartcase - -" Show completions when using commands like :edit -set wildmenu - -" Allow switching buffer even if current buffer contains unsaved changes -set hidden - -" Disable scratch preview window -set completeopt-=preview - -" Use comma as the leader key -let mapleader=',' - -" Use Alt+hjkl to switch between windows -nmap <silent> <A-h> :wincmd h<CR> -nmap <silent> <A-j> :wincmd j<CR> -nmap <silent> <A-k> :wincmd k<CR> -nmap <silent> <A-l> :wincmd l<CR> - -" Airline tweaks -" Always show statusline -set laststatus=2 -" Use Powerline fonts -let g:airline_powerline_fonts = 1 - -" CtrlP tweaks -" keybinds -let g:ctrlp_map = '<c-p>' -let g:ctrlp_cmd = 'CtrlP' - -" Command to open browser for Markdown Preview -let g:previm_open_cmd = 'firefox' - -" Syntastic Tweaks -" Display a statusline message if errors are detected -let g:syntastic_stl_format = '%E{Errors: %e}%B{,}%W{Warnings: %w}' -set statusline+=%#warningmsg# -set statusline+=%{SyntasticStatuslineFlag()} -set statusline+=%* -" Automatically populate the list of error -> line number mappings -" (Disabled by default for compatibility) -let g:syntastic_always_populate_loc_list = 1 -" Check files when they are opened -let g:syntastic_check_on_open = 1 -" Don't check files when they are closed -let g:syntastic_check_on_wq = 0 - -" GitGutter tweaks -" Display diff markers between index and HEAD -let g:gitgutter_diff_args = ' HEAD ' - -set clipboard+=unnamedplus |