Adding few key mappings
This commit is contained in:
parent
ae01124a46
commit
d532d1164f
1
after/ftplugin/rust.lua
Normal file
1
after/ftplugin/rust.lua
Normal file
@ -0,0 +1 @@
|
||||
vim.keymap.set("n", "<Esc>", "<cmd>RustLsp hover range<CR>", { silent = true, buffer = true })
|
||||
4
init.lua
4
init.lua
@ -21,6 +21,10 @@ vim.opt.termguicolors = true
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
-- Global key mappings
|
||||
|
||||
vim.keymap.set({"n", "i"}, "<C-s>", "<cmd>w<CR>")
|
||||
|
||||
-- Lazy.nvim
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||
"monokai-pro.nvim": { "branch": "master", "commit": "aafde73a622435891d36b411d8623e705ead6293" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "c61074acb19102dfc6f21738dcae4d9a494a8959" },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user