diff rc/vimrc @ 635:5d3ce722285a

Use function keys for some functions
author nanaya <me@nanaya.pro>
date Mon, 13 Jan 2020 00:19:42 +0900
parents ffc095d36df2
children 8812b9230a68
line wrap: on
line diff
--- a/rc/vimrc	Sun Jun 30 20:31:45 2019 +0900
+++ b/rc/vimrc	Mon Jan 13 00:19:42 2020 +0900
@@ -56,13 +56,13 @@
 map <C-t><C-m> :NERDTreeMirror<cr>
 
 " clears out highlight
-nmap <leader>c :nohlsearch<cr>
+nmap <esc>[13~ <esc>:nohlsearch<cr>
 
 " toggles paste mode
-nmap <leader>p :set paste!<cr>
+nmap <esc>[14~ <esc>:set paste!<cr>
 
 " removes prefix for windows copypasta
-nmap _pa :set number! list!<cr>
+nmap <esc>[15~ <esc>:set number! list!<cr>
 
 " format JSON
 map <leader>j <esc>:%!python -m json.tool<cr>