uhh lsp mapping stuff + java

This commit is contained in:
iris committed 2023-02-09 10:44:47 -05:00
1 parent d069cc3ac0
commit cd124a8ca5
4 files changed
+57 -42

No files matched your search

+6
View File
@@ -16,6 +16,12 @@ m.nmap('<esc>', '<cmd>noh<cr><esc>')
m.cmd('<leader>spl', 'setlocal spell spelllang=en_us')
m.cmd('<leader>spL', 'setlocal nospell')
-- lsp
m.nmap('E', vim.diagnostic.open_float)
m.nmap('[d', vim.diagnostic.goto_prev)
m.nmap(']d', vim.diagnostic.goto_next)
m.nmap('<leader>q', vim.diagnostic.setloclist)
-- colemak-dh
local l = u.layout
l.swap('n', 'h')