Update nvim stuff

This commit is contained in:
Hunter Haugen 2017-04-14 11:45:05 -07:00
parent 46fd1121af
commit ed5bb1075b
Signed by: hunner
GPG key ID: EF99694AA599DDAD

View file

@ -16,6 +16,7 @@ Plug 'jacoborus/tender.vim'
Plug 'ciaranm/inkpot'
Plug 'twerth/ir_black'
Plug 'rodjek/vim-puppet'
Plug 'vim-ruby/vim-ruby'
call plug#end()
" Because.
@ -44,6 +45,8 @@ noremap <Leader>c :ChangeDir<CR>
"noremap <Leader>u :FufRenewCache<CR>
"noremap <Leader>w :bdelete<CR>
noremap <F1> :Helptags<CR>
" Edit a file in the same directory as the current buffer
noremap <Leader>e :e %:p:h/
" --column: Show column number
" --line-number: Show line number
@ -120,6 +123,12 @@ xmap ga <Plug>(EasyAlign)
" Backup files in backupdir=~/.local/share/nvim/backup/
set undofile
" Allow unwritten buffers to be hidden
set hidden
" Enable live preview of replace
set inccommand=split
" Copy between instances
let g:neoyank#file = $HOME.'/.local/share/nvim/yankring.txt'
nmap <C-p> :Denite neoyank<CR>