summaryrefslogtreecommitdiff
path: root/lua/tjk
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tjk')
-rw-r--r--lua/tjk/keybindings.lua2
-rw-r--r--lua/tjk/lsp.lua1
2 files changed, 3 insertions, 0 deletions
diff --git a/lua/tjk/keybindings.lua b/lua/tjk/keybindings.lua
index 7871a64..cd3b961 100644
--- a/lua/tjk/keybindings.lua
+++ b/lua/tjk/keybindings.lua
@@ -6,6 +6,8 @@ vim.g.mapleader = ","
key("n", "<leader>l", [[:setlocal spell! spelllang=en_us<CR>]])
-- toggle cursorcolumn
key("n", "<leader>c", [[:set cursorcolumn!<CR>]])
+-- show undotree
+key("n", "<leader>u", [[:Undotree<CR>]])
-- scroll doc with ctrl+[jk]
key({ "n", "v" }, "<C-j>", "<C-e>")
diff --git a/lua/tjk/lsp.lua b/lua/tjk/lsp.lua
index 118cda5..6f4c110 100644
--- a/lua/tjk/lsp.lua
+++ b/lua/tjk/lsp.lua
@@ -1,3 +1,4 @@
+-- TODO enable with keybind
vim.lsp.enable({
"cssls",
"eslint",