Compare commits
No commits in common. "88c2022eb69dc475bdfaa8996a1d8c572f170c0e" and "b8a83927ab8e4da2bcfd086cbcda632712ca8e6c" have entirely different histories.
88c2022eb6
...
b8a83927ab
@ -38,7 +38,6 @@
|
|||||||
"resession.nvim": { "branch": "master", "commit": "0be4f5401f6f843b320c0ba9035fe682b6b89d0d" },
|
"resession.nvim": { "branch": "master", "commit": "0be4f5401f6f843b320c0ba9035fe682b6b89d0d" },
|
||||||
"statuscol.nvim": { "branch": "main", "commit": "0944234914438695050eec6f83b4669864680c1a" },
|
"statuscol.nvim": { "branch": "main", "commit": "0944234914438695050eec6f83b4669864680c1a" },
|
||||||
"telescope.nvim": { "branch": "0.1.x", "commit": "9a9ca52206c2f39d2145c8c5458ddd2f6ef6e706" },
|
"telescope.nvim": { "branch": "0.1.x", "commit": "9a9ca52206c2f39d2145c8c5458ddd2f6ef6e706" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "3f85d8ed30e97ceeddbbcf80224245d347053711" },
|
|
||||||
"undotree": { "branch": "main", "commit": "2685ce282702ab0b79c65916f352db2265b245dd" },
|
"undotree": { "branch": "main", "commit": "2685ce282702ab0b79c65916f352db2265b245dd" },
|
||||||
"vim-wakatime": { "branch": "master", "commit": "0d2efa2daff34b27b0d227d4c3b136811c93db93" }
|
"vim-wakatime": { "branch": "master", "commit": "0d2efa2daff34b27b0d227d4c3b136811c93db93" }
|
||||||
}
|
}
|
@ -3,17 +3,15 @@ local map = vim.keymap.set
|
|||||||
map("n", "<Leader><CR>", "<cmd>noh<CR>")
|
map("n", "<Leader><CR>", "<cmd>noh<CR>")
|
||||||
map("n", "U", "<cmd>redo<CR>")
|
map("n", "U", "<cmd>redo<CR>")
|
||||||
map("n", "Y", "y$")
|
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", "j", "gj")
|
||||||
map("n", "k", "gk")
|
map("n", "k", "gk")
|
||||||
|
|
||||||
-- More sensible start and end of line
|
|
||||||
map({"n", "v"}, "H", "^")
|
map({"n", "v"}, "H", "^")
|
||||||
map({"n", "v"}, "L", "$")
|
map({"n", "v"}, "L", "$")
|
||||||
|
|
||||||
|
map({"n", "v", "i"}, "<C-s>", "<cmd>w<CR>")
|
||||||
|
map("n", "s", "<NOP>")
|
||||||
|
|
||||||
-- Exit insert mode by quickly pressing jk
|
-- Exit insert mode by quickly pressing jk
|
||||||
map("i", "jk", "<ESC>l", { silent = true })
|
map("i", "jk", "<ESC>l", { silent = true })
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
local spec = {
|
|
||||||
"numToStr/Comment.nvim",
|
|
||||||
}
|
|
||||||
|
|
||||||
spec.opts = {}
|
|
||||||
|
|
||||||
spec.keys = {
|
|
||||||
{ "gcc", mode = "n" },
|
|
||||||
{ "gc", mode = "v" },
|
|
||||||
}
|
|
||||||
|
|
||||||
return spec
|
|
@ -10,5 +10,10 @@ return {
|
|||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"numToStr/Comment.nvim",
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
}
|
}
|
||||||
|
@ -9,13 +9,6 @@ spec.dependencies = {
|
|||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
}
|
}
|
||||||
|
|
||||||
spec.keys = {
|
|
||||||
"<Leader>ff",
|
|
||||||
"<Leader>fb",
|
|
||||||
"<Leader>fg",
|
|
||||||
"<Leader>fh",
|
|
||||||
}
|
|
||||||
|
|
||||||
spec.config = function()
|
spec.config = function()
|
||||||
local telescope = require("telescope")
|
local telescope = require("telescope")
|
||||||
local actions = require("telescope.actions")
|
local actions = require("telescope.actions")
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
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