Skip to content

Commit

Permalink
Surround short cuts
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhomer committed Nov 10, 2024
1 parent d412ba3 commit 9ae239f
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 401 deletions.
7 changes: 6 additions & 1 deletion dotfiles/nvim/.config/nvim/lua/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
--
--

local map = vim.keymap.set

map({"n"}, "'<", "gsaiW>", { desc = "surround <", remap = true})
map({"n"}, "'*", "gsaiW*.", { desc = "surround **", remap = true})
map({"n"}, "'\"", "gsaiW\"", { desc = "surround \"", remap = true})
8 changes: 4 additions & 4 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"author": "anon",
"description": "dotme test",
"devDependencies": {
"@types/node": "22.7.7",
"@typescript-eslint/eslint-plugin": "8.10.0",
"@typescript-eslint/parser": "8.10.0",
"@types/node": "22.9.0",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-sonarjs": "1.0.3",
"jest": "^29.7.0",
"prettier": "3.3.3",
Expand Down
Loading

0 comments on commit 9ae239f

Please sign in to comment.