remove arrow keys

This commit is contained in:
Robert Altner 2024-04-22 14:34:34 +02:00
parent 9896809b29
commit 9a0b795aa2
No known key found for this signature in database
GPG key ID: 58794C52DAF9EAD8
3 changed files with 21 additions and 1 deletions

View file

@ -17,7 +17,6 @@ set nofoldenable
"colorscheme tokyonight-storm
lua require("kanagawa")
colorscheme kanagawa
let g:blamer_enabled = 1

View file

@ -112,6 +112,8 @@ require('lualine').setup {
extensions = {}
}
require("kanagawa").setup()
vim.api.nvim_create_autocmd("TermClose", {
callback = function()
vim.cmd("close")

View file

@ -34,5 +34,24 @@ map("n", "<leader>0", ":tablast<cr>")
map("n", "<leader><F9>", ":call vimspector#ToggleBreakpoint( input( \"Enter condition: \" ) )<CR>")
map("", "<UP>", "<NOP>")
map("", "<DOWN>", "<NOP>")
map("", "<RIGHT>", "<NOP>")
map("", "<LEFT>", "<NOP>")
map("i", "<UP>", "<NOP>")
map("i", "<DOWN>", "<NOP>")
map("i", "<RIGHT>", "<NOP>")
map("i", "<LEFT>", "<NOP>")
map("n", "<leader>t", ":bo 15split +term<CR>")
map("t", "<ESC>", "<C-\\><C-N>")
map("n", "<A-j>", ":m .+1<CR>==")
map("n", "<A-k>", ":m .-2<CR>==")
map("i", "<A-j>", "<Esc>:m .+1<CR>==gi")
map("i", "<A-k>", "<Esc>:m .-2<CR>==gi")
map("v", "<A-j>", ":m '>+1<CR>gv=gv")
map("v", "<A-k>", ":m '<-2<CR>gv=gv")