From ed5bb1075b8e35db947e1129c70a389d8f427f6c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 14 Apr 2017 11:45:05 -0700 Subject: [PATCH] Update nvim stuff --- .config/nvim/init.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f816adc..e485036 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 c :ChangeDir "noremap u :FufRenewCache "noremap w :bdelete noremap :Helptags +" Edit a file in the same directory as the current buffer +noremap e :e %:p:h/ " --column: Show column number " --line-number: Show line number @@ -120,6 +123,12 @@ xmap ga (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 :Denite neoyank