diff rc/vimrc @ 659:be98916b55df

[vimrc] Support xorg native function keys (or at least xfce4-terminal's)
author nanaya <me@nanaya.pro>
date Fri, 10 Dec 2021 19:00:03 +0900
parents 6ca63cec0879
children f280738a90a6
line wrap: on
line diff
--- a/rc/vimrc	Sun Nov 28 20:05:47 2021 +0900
+++ b/rc/vimrc	Fri Dec 10 19:00:03 2021 +0900
@@ -59,12 +59,15 @@
 
 " clears out highlight
 nmap <esc>[13~ <esc>:nohlsearch<cr>
+nmap <F3> <esc>:set paste!<cr>
 
 " toggles paste mode
 nmap <esc>[14~ <esc>:set paste!<cr>
+nmap <F4> <esc>:set paste!<cr>
 
 " removes prefix for windows copypasta
 nmap <esc>[15~ <esc>:set number! list!<cr>
+nmap <F5> <esc>:set number! list!<cr>
 
 " format JSON
 map <leader>j <esc>:%!python -m json.tool<cr>