mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-12-15 18:48:34 +00:00
Move more keybindings to lua, remove dashboard
This commit is contained in:
@@ -23,14 +23,11 @@ vim.cmd([[
|
||||
tnoremap <Esc> <C-\><C-n>
|
||||
]])
|
||||
|
||||
-- TODO fix this
|
||||
-- resize with arrows
|
||||
vim.cmd([[
|
||||
nnoremap <silent> <C-Up> :resize -2<CR>
|
||||
nnoremap <silent> <C-Down> :resize +2<CR>
|
||||
nnoremap <silent> <C-Left> :vertical resize +2<CR>
|
||||
nnoremap <silent> <C-Right> :vertical resize -2<CR>
|
||||
]])
|
||||
vim.api.nvim_set_keymap('n', '<C-Up>', ':resize -2<CR>', {silent = true})
|
||||
vim.api.nvim_set_keymap('n', '<C-Down>', ':resize +2<CR>', {silent = true})
|
||||
vim.api.nvim_set_keymap('n', '<C-Left>', ':vertical resize -2<CR>', {silent = true})
|
||||
vim.api.nvim_set_keymap('n', '<C-Right>', ':vertical resize +2<CR>', {silent = true})
|
||||
|
||||
-- improved keyboard support for navigation (especially terminal)
|
||||
vim.cmd([[
|
||||
|
||||
Reference in New Issue
Block a user