diff options
Diffstat (limited to 'lua/user')
-rw-r--r-- | lua/user/keymaps.lua | 11 | ||||
-rw-r--r-- | lua/user/options.lua | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index a7a5878..c0291c9 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -23,10 +23,10 @@ vim.g.maplocalleader = " " keymap("n", "<space>t", ":NvimTreeToggle<CR>", opts) -- Resizing windows (like i3) -keymap("n", "<C-S-Up>", ":resize -2<CR>", opts) -keymap("n", "<C-S-Down>", ":resize +2<CR>", opts) -keymap("n", "<C-S-Left>", ":vertical resize -2<CR>", opts) -keymap("n", "<C-S-Right>", ":vertical resize +2<CR>", opts) +keymap("n", "<C-S-k>", ":resize -2<CR>", opts) +keymap("n", "<C-S-j>", ":resize +2<CR>", opts) +keymap("n", "<C-S-h>", ":vertical resize -2<CR>", opts) +keymap("n", "<C-S-l>", ":vertical resize +2<CR>", opts) -- Moving between buffers keymap("n", "<S-l>", ":bnext<CR>", opts) @@ -51,6 +51,9 @@ keymap("n", "<leader>f", "<cmd>Telescope find_files<CR>", opts) keymap("n", "<leader>g", "<cmd>Telescope live_grep<CR>", opts) keymap("n", "<leader>m", "<cmd>Telescope media_files<CR>", opts) keymap("n", "<leader>r", "<cmd>Telescope lsp_references<CR>", opts) +keymap("n", "<leader>d", "<cmd>Telescope lsp_definitions<CR>", opts) +keymap("n", "<leader>i", "<cmd>Telescope lsp_implementations<CR>", opts) +keymap("n", "<leader>w", "<cmd>Telescope lsp_dynamic_workspace_symbols<CR>", opts) keymap("n", "<leader>h", "<cmd>Telescope oldfiles<CR>", opts) -- Session Manager diff --git a/lua/user/options.lua b/lua/user/options.lua index a33decb..aea781e 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -2,6 +2,9 @@ local options = { completeopt = { "menuone", "noselect" }, tabstop = 4, shiftwidth = 2, + smarttab = true, + softtabstop = 0, + expandtab = true, scrolloff = 5, number = true, relativenumber = true, |