dblume commited on 2022-08-10 22:07:18
Showing 1 changed files, with 10 additions and 1 deletions.
... | ... |
@@ -98,13 +98,22 @@ nmap <leader>r :set relativenumber!<cr> |
98 | 98 |
nmap <leader>n :set number!<cr> |
99 | 99 |
|
100 | 100 |
" Useful mappings for managing tabs |
101 |
-" |
|
101 |
+" First two are dubious. Use gT and gt. |
|
102 | 102 |
nmap <leader>th <esc>:tabprevious<cr> |
103 | 103 |
nmap <leader>tl <esc>:tabnext<cr> |
104 | 104 |
nmap <leader>tn :tabnew |
105 | 105 |
nmap <leader>to :tabonly<cr> |
106 | 106 |
nmap <leader>tc :tabclose<cr> |
107 | 107 |
nmap <leader>tm :tabmove |
108 |
+nmap <leader>1 1gt |
|
109 |
+nmap <leader>2 2gt |
|
110 |
+nmap <leader>3 3gt |
|
111 |
+nmap <leader>4 4gt |
|
112 |
+nmap <leader>5 5gt |
|
113 |
+nmap <leader>6 6gt |
|
114 |
+nmap <leader>7 7gt |
|
115 |
+nmap <leader>8 8gt |
|
116 |
+nmap <leader>9 9gt |
|
108 | 117 |
|
109 | 118 |
" Open current buffer in new tab. Close with C-w,c |
110 | 119 |
" https://vim.fandom.com/wiki/Maximize_window_and_return_to_previous_split_structure |
111 | 120 |