changeset 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 35c26d9dcaa7
children 56ac9d97d81b
files rc/vimrc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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>