adding copy pasting for screen and vim
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
startup_message off
|
||||
|
||||
# permet de copier dans le clipboard, en faisant 'C-a Y' apres un copie avec space
|
||||
bind Y eval "writebuf" "exec ... sh -c 'wl-copy < /tmp/screen-exchange'"
|
||||
|
||||
#pour augmenter le scrollback de l'ecran
|
||||
defscrollback 10000
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"#hugogogo#
|
||||
|
||||
|
||||
"---------------------------------------------------------------
|
||||
" base settings
|
||||
"---------------------------------------------------------------
|
||||
@@ -32,6 +33,9 @@ set hidden
|
||||
"set mouse=a
|
||||
set mouse=
|
||||
|
||||
" allow copy in the clipboard
|
||||
vnoremap <leader>y :w !wl-copy<CR><CR>
|
||||
|
||||
" turns on syntax hilighting
|
||||
syntax on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user