added basic keymaps
This commit is contained in:
parent
17e4e8264f
commit
3b8f438b14
14
init.lua
14
init.lua
|
@ -459,7 +459,7 @@ local servers = {
|
||||||
-- pyright = {},
|
-- pyright = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
-- html = { filetypes = { 'html', 'blade' } },
|
||||||
|
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
@ -542,5 +542,13 @@ cmp.setup {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
-- MY KEYMAPS --
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
|
||||||
|
-- exit insert mode with lk
|
||||||
|
vim.keymap.set("i", "lk", "<esc>")
|
||||||
|
|
||||||
|
-- open Netrw
|
||||||
|
vim.keymap.set("n", "<leader>x", vim.cmd.Ex)
|
||||||
|
|
||||||
|
-- open fugitive in vertical split
|
||||||
|
vim.keymap.set('n', '<leader>gs', ':vertical G<CR>')
|
||||||
|
|
Loading…
Reference in New Issue