summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mappings.lua
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-02-22 07:17:38 +0100
committerAdam Stück <adam@adast.xyz>2023-02-22 07:17:38 +0100
commitf5a8605de8b202ad656caee6ba072a98b5c53953 (patch)
tree551c2420ac86cb57ecfe558ff19f9c5f92a397b7 /.config/nvim/lua/mappings.lua
parentb48537a1d256f821abe3cd5a2842e2908c89d184 (diff)
nvim: shorten useful mappings
Think about all the time this will save!
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r--.config/nvim/lua/mappings.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index acbb748..6b63af3 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -30,9 +30,9 @@ map('n', '<leader><up>', ':wincmd k<CR>', opts)
map('n', '<leader><right>', ':wincmd l<CR>', opts)
map('n', '<leader>p', '<cmd>Telescope find_files<cr>', opts)
-map('n', '<leader>fg', '<cmd>Telescope live_grep<cr>', opts)
-map('n', '<leader>fb', '<cmd>Telescope buffers<cr>', opts)
-map('n', '<leader>fh', '<cmd>Telescope help_tags<cr>', opts)
+map('n', '<leader>g', '<cmd>Telescope live_grep<cr>', opts)
+map('n', '<leader>b', '<cmd>Telescope buffers<cr>', opts)
+map('n', '<leader>h', '<cmd>Telescope help_tags<cr>', opts)
map('n', '<leader>ds', '<cmd>Telescope lsp_document_symbols<cr>', opts)
map('n', '<leader>ws', '<cmd>Telescope lsp_workspace_symbols<cr>', opts)