Update nvim stuff
This commit is contained in:
parent
46fd1121af
commit
ed5bb1075b
1 changed files with 9 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ Plug 'jacoborus/tender.vim'
|
||||||
Plug 'ciaranm/inkpot'
|
Plug 'ciaranm/inkpot'
|
||||||
Plug 'twerth/ir_black'
|
Plug 'twerth/ir_black'
|
||||||
Plug 'rodjek/vim-puppet'
|
Plug 'rodjek/vim-puppet'
|
||||||
|
Plug 'vim-ruby/vim-ruby'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Because.
|
" Because.
|
||||||
|
|
@ -44,6 +45,8 @@ noremap <Leader>c :ChangeDir<CR>
|
||||||
"noremap <Leader>u :FufRenewCache<CR>
|
"noremap <Leader>u :FufRenewCache<CR>
|
||||||
"noremap <Leader>w :bdelete<CR>
|
"noremap <Leader>w :bdelete<CR>
|
||||||
noremap <F1> :Helptags<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
|
" --column: Show column number
|
||||||
" --line-number: Show line number
|
" --line-number: Show line number
|
||||||
|
|
@ -120,6 +123,12 @@ xmap ga <Plug>(EasyAlign)
|
||||||
" Backup files in backupdir=~/.local/share/nvim/backup/
|
" Backup files in backupdir=~/.local/share/nvim/backup/
|
||||||
set undofile
|
set undofile
|
||||||
|
|
||||||
|
" Allow unwritten buffers to be hidden
|
||||||
|
set hidden
|
||||||
|
|
||||||
|
" Enable live preview of replace
|
||||||
|
set inccommand=split
|
||||||
|
|
||||||
" Copy between instances
|
" Copy between instances
|
||||||
let g:neoyank#file = $HOME.'/.local/share/nvim/yankring.txt'
|
let g:neoyank#file = $HOME.'/.local/share/nvim/yankring.txt'
|
||||||
nmap <C-p> :Denite neoyank<CR>
|
nmap <C-p> :Denite neoyank<CR>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue