Adding few key mappings

This commit is contained in:
Selim Mustafaev 2024-04-16 19:49:32 +03:00
parent ae01124a46
commit d532d1164f
3 changed files with 6 additions and 1 deletions

1
after/ftplugin/rust.lua Normal file
View File

@ -0,0 +1 @@
vim.keymap.set("n", "<Esc>", "<cmd>RustLsp hover range<CR>", { silent = true, buffer = true })

View File

@ -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"

View File

@ -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" },