Skip to content

Commit

Permalink
clipboard shortcuts for vim
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed May 17, 2018
1 parent 4073350 commit 1f53b4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
nnoremap <leader>con :set clipboard=unnamedplus<CR>
nnoremap <leader>coff :set clipboard=<CR>
" Functions
function! OnBattery()
if empty(glob('/sys/class/power_supply/AC/online'))
Expand Down

0 comments on commit 1f53b4a

Please sign in to comment.