comparison 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
comparison
equal deleted inserted replaced
628:7bcc81f6b210 635:5d3ce722285a
54 map <C-t>n :tabn<cr> 54 map <C-t>n :tabn<cr>
55 map <C-t><C-t> :NERDTreeToggle<cr> 55 map <C-t><C-t> :NERDTreeToggle<cr>
56 map <C-t><C-m> :NERDTreeMirror<cr> 56 map <C-t><C-m> :NERDTreeMirror<cr>
57 57
58 " clears out highlight 58 " clears out highlight
59 nmap <leader>c :nohlsearch<cr> 59 nmap <esc>[13~ <esc>:nohlsearch<cr>
60 60
61 " toggles paste mode 61 " toggles paste mode
62 nmap <leader>p :set paste!<cr> 62 nmap <esc>[14~ <esc>:set paste!<cr>
63 63
64 " removes prefix for windows copypasta 64 " removes prefix for windows copypasta
65 nmap _pa :set number! list!<cr> 65 nmap <esc>[15~ <esc>:set number! list!<cr>
66 66
67 " format JSON 67 " format JSON
68 map <leader>j <esc>:%!python -m json.tool<cr> 68 map <leader>j <esc>:%!python -m json.tool<cr>
69 69
70 " visual navigation instead of logical 70 " visual navigation instead of logical