diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 7a8489b..49401ba 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -3,19 +3,23 @@ set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " Plugins -Plugin 'airblade/vim-gitgutter' Plugin 'VundleVim/Vundle.vim' +Plugin 'airblade/vim-gitgutter' Plugin 'b4b4r07/vim-hcl' +Plugin 'cespare/vim-toml' Plugin 'chriskempson/base16-vim' -Plugin 'ctrlpvim/ctrlp.vim' Plugin 'ervandew/supertab' Plugin 'fatih/vim-go' +Plugin 'godlygeek/tabular' Plugin 'hashivim/vim-terraform' Plugin 'itchyny/lightline.vim' Plugin 'joshdick/onedark.vim' +Plugin 'junegunn/fzf' +Plugin 'junegunn/fzf.vim' Plugin 'Matt-Deacalion/vim-systemd-syntax' Plugin 'nanotech/jellybeans.vim' Plugin 'NLKNguyen/papercolor-theme' +Plugin 'plasticboy/vim-markdown' Plugin 'rust-lang/rust.vim' Plugin 'scrooloose/syntastic' Plugin 'tomtom/tcomment_vim' @@ -149,28 +153,18 @@ let myvar = "set backupext=_". myvar execute myvar au BufWritePre * let &backupext = substitute(expand("%:p"), "\/", "_", "g") -"" CtrlP -let g:ctrlp_match_window = 'top' - set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class,*/target/*,*/.git/*" -" let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$' -let g:ctrlp_custom_ignore = 'node_modules$\|.lock$\|.gitkeep$\|tmp/\|bower_components$\|dist$' -let g:ctrlp_working_path_mode = 'ra' - -map :CtrlPBuffer -map ,` :CtrlPBuffer -map ,; :CtrlPChange -map ,e :CtrlPRoot -map ,d :CtrlPCurWD -map ,f :CtrlPMRUFiles -map ,g :CtrlPLine -map ,q :CtrlPQuickfix -map ,/ :CtrlPLine -map ,m :CtrlPBookmarkDir -map , :CtrlPBookmarkDirAdd -map ,n :CtrlPBookmarkDirAdd +map :Buffers +map ,` :Buffers +map ,; :Commits +map ,e :GitFiles +map ,d :Files +map ,f :History +map ,g :BLines +map ,/ :Ag +map ,m :Marks "" Key bindings imap  @@ -407,6 +401,10 @@ set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* +" Hugo +let g:vim_markdown_frontmatter = 1 +let g:vim_markdown_toml_frontmatter = 1 + let g:gitgutter_override_sign_column_highlight = 0 let g:gitgutter_sign_added = '🞥' let g:gitgutter_sign_modified = '▲'