added some TODOs
This commit is contained in:
parent
a20ffd1f4d
commit
267b79def8
@ -1,3 +1,7 @@
|
||||
# TODO
|
||||
- correct way to override nvpunk's own shortcuts:
|
||||
see https://gitlab.com/gabmus/nvpunk/-/issues/11
|
||||
- figure out how to save the view state (cursor position and stuff)
|
||||
The old method BufWinEnter aucmd doesn't work for some reason
|
||||
- Snippets
|
||||
- Comment shortcuts
|
||||
|
11
init.lua
11
init.lua
@ -67,9 +67,6 @@ require('fzf-lua').setup {
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<leader><leader>', ':silent noh <CR>', { noremap = true })
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<leader>t', ':tab drop<Space>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('v', '<leader>t', ':tab drop<Space>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', '<leader>q', ':tabclose<CR>', { noremap = true })
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<C-l>', 'gt', { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', '<C-h>', 'gT', { noremap = true })
|
||||
@ -118,8 +115,16 @@ vim.api.nvim_set_keymap('i', '<C-s>', '<Esc><Esc><Esc>:w<CR>', { noremap = true
|
||||
-- tabs
|
||||
vim.api.nvim_set_keymap('n', ',,', ':tabe<CR>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', '<leader>.', ':tab drop %:p:h<CR>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', ',t', ':tab drop<Space>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('v', ',t', ':tab drop<Space>', { noremap = true })
|
||||
vim.api.nvim_set_keymap('n', '<leader>q', ':tabclose<CR>', { noremap = true })
|
||||
|
||||
|
||||
-- vim.opt.shada = "/100,'10,\"100,:20,%"
|
||||
-- vim.opt.shadafile = "/home/pfs/.config/nvpunk/lua/user/nviminfo"
|
||||
-- autocmd BufWinLeave * if expand("%") != "" | silent! mkview | endif
|
||||
-- autocmd BufWinEnter * if expand("%") != "" | silent! loadview | endif
|
||||
|
||||
--map <C-\> <plug>NERDCommenterToggle
|
||||
--map <C-A-\> <plug>NERDCommenterSexy
|
||||
--nnoremap <leader>s :CocFzfList snippets<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user