Skip to content

Commit

Permalink
Map ctrl+c -> "+y for nice copying
Browse files Browse the repository at this point in the history
  • Loading branch information
Márton Gunyhó committed Feb 14, 2025
1 parent 24d9c33 commit aede2d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ endif
" capital ':Tabe' is like ':tabe' except that if the file is already open in a tab, switch to that.
command -nargs=* -complete=file Tabe tab drop <args>


" Map ctrl+c to "copy to OS buffer" in visual mode
" from https://sharats.me/posts/automating-the-vim-workpl
xnoremap <C-c> "+y
"""""""""""
" PLUGINS "
"""""""""""
Expand Down

0 comments on commit aede2d1

Please sign in to comment.