Compare commits
2 Commits
b8a83927ab
...
88c2022eb6
Author | SHA1 | Date | |
---|---|---|---|
88c2022eb6 | |||
83479990d0 |
@ -38,6 +38,7 @@
|
||||
"resession.nvim": { "branch": "master", "commit": "0be4f5401f6f843b320c0ba9035fe682b6b89d0d" },
|
||||
"statuscol.nvim": { "branch": "main", "commit": "0944234914438695050eec6f83b4669864680c1a" },
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "9a9ca52206c2f39d2145c8c5458ddd2f6ef6e706" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "3f85d8ed30e97ceeddbbcf80224245d347053711" },
|
||||
"undotree": { "branch": "main", "commit": "2685ce282702ab0b79c65916f352db2265b245dd" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "0d2efa2daff34b27b0d227d4c3b136811c93db93" }
|
||||
}
|
@ -3,15 +3,17 @@ local map = vim.keymap.set
|
||||
map("n", "<Leader><CR>", "<cmd>noh<CR>")
|
||||
map("n", "U", "<cmd>redo<CR>")
|
||||
map("n", "Y", "y$")
|
||||
map({"n", "v", "i"}, "<C-s>", "<cmd>w<CR>")
|
||||
map("n", "s", "<NOP>")
|
||||
|
||||
-- Move up and down visual lines for the few times I need wrapping
|
||||
map("n", "j", "gj")
|
||||
map("n", "k", "gk")
|
||||
|
||||
-- More sensible start and end of line
|
||||
map({"n", "v"}, "H", "^")
|
||||
map({"n", "v"}, "L", "$")
|
||||
|
||||
map({"n", "v", "i"}, "<C-s>", "<cmd>w<CR>")
|
||||
map("n", "s", "<NOP>")
|
||||
|
||||
-- Exit insert mode by quickly pressing jk
|
||||
map("i", "jk", "<ESC>l", { silent = true })
|
||||
|
||||
|
12
lua/valeth/plugins/comment.lua
Normal file
12
lua/valeth/plugins/comment.lua
Normal file
@ -0,0 +1,12 @@
|
||||
local spec = {
|
||||
"numToStr/Comment.nvim",
|
||||
}
|
||||
|
||||
spec.opts = {}
|
||||
|
||||
spec.keys = {
|
||||
{ "gcc", mode = "n" },
|
||||
{ "gc", mode = "v" },
|
||||
}
|
||||
|
||||
return spec
|
@ -10,10 +10,5 @@ return {
|
||||
opts = {},
|
||||
},
|
||||
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
opts = {},
|
||||
},
|
||||
|
||||
"nvim-lua/plenary.nvim",
|
||||
}
|
||||
|
@ -9,6 +9,13 @@ spec.dependencies = {
|
||||
"ThePrimeagen/harpoon",
|
||||
}
|
||||
|
||||
spec.keys = {
|
||||
"<Leader>ff",
|
||||
"<Leader>fb",
|
||||
"<Leader>fg",
|
||||
"<Leader>fh",
|
||||
}
|
||||
|
||||
spec.config = function()
|
||||
local telescope = require("telescope")
|
||||
local actions = require("telescope.actions")
|
||||
|
13
lua/valeth/plugins/trouble.lua
Normal file
13
lua/valeth/plugins/trouble.lua
Normal file
@ -0,0 +1,13 @@
|
||||
local spec = {
|
||||
"folke/trouble.nvim",
|
||||
}
|
||||
|
||||
spec.dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
}
|
||||
|
||||
spec.keys = {
|
||||
{ "<Leader>ct", "<cmd>TroubleToggle<CR>" },
|
||||
}
|
||||
|
||||
return spec
|
Loading…
Reference in New Issue
Block a user