diff options
author | Squibid <me@zacharyscheiman.com> | 2023-04-03 09:34:31 +0000 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-04-03 09:34:31 +0000 |
commit | 7c5d3eff786bef884022cc813448bb085ba4eccd (patch) | |
tree | d3f936c71555e259318116272e9e478954fa5eeb /lua/core/maps.lua | |
parent | 2da3e8642576b2b97544a94a91d16779914a3de1 (diff) | |
download | nvim-7c5d3eff786bef884022cc813448bb085ba4eccd.tar.gz nvim-7c5d3eff786bef884022cc813448bb085ba4eccd.tar.bz2 nvim-7c5d3eff786bef884022cc813448bb085ba4eccd.zip |
add tree file view, and modify scrollbarv1.0
Diffstat (limited to 'lua/core/maps.lua')
-rw-r--r-- | lua/core/maps.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lua/core/maps.lua b/lua/core/maps.lua index 954e25d..7958785 100644 --- a/lua/core/maps.lua +++ b/lua/core/maps.lua @@ -53,8 +53,7 @@ a.nvim_create_autocmd('FileType', { a.nvim_set_keymap('i', '<tab>', '<cmd>lua require("intellitab").indent()<CR>', opts) -- open Trouble buffer -a.nvim_set_keymap("n", "<leader>tt", -"<cmd>TroubleToggle document_diagnostics<CR>", opts) +a.nvim_set_keymap("n", "<leader>tt", "<cmd>TroubleToggle document_diagnostics<CR>", opts) a.nvim_set_keymap("n", "<leader>td", "<cmd>TodoTrouble<CR>", opts) -- dismiss notifications @@ -72,8 +71,7 @@ a.nvim_set_keymap("n", "<C-g>", [[<cmd>Gitsigns toggle_current_line_blame<CR>]], -- telescope a.nvim_set_keymap('n', '<leader>sf', '<cmd>Telescope find_files<CR>', opts) a.nvim_set_keymap('n', '<leader>sg', '<cmd>Telescope git_commits<CR>', opts) -a.nvim_set_keymap('n', '<leader>sb', - '<cmd>Telescope current_buffer_fuzzy_find<CR>', opts) +a.nvim_set_keymap('n', '<leader>sb', '<cmd>Telescope current_buffer_fuzzy_find<CR>', opts) a.nvim_set_keymap('n', '<leader>so', '<cmd>Telescope oldfiles<CR>', opts) a.nvim_set_keymap('n', '<leader>sc', '<cmd>Telescope neoclip unnamed<CR>', opts) a.nvim_set_keymap('n', '<leader>su', '<cmd>Telescope undo<CR>', opts) @@ -129,6 +127,9 @@ a.nvim_set_keymap('n', '<leader>ga', '<cmd>lua require("cosmic-ui").code_actions -- glow a.nvim_set_keymap('n', '<leader>gl', '<cmd>lua _glow()<CR>', opts) +-- open file tree +a.nvim_set_keymap('n', '<leader>to', '<cmd>SFMToggle<CR>', opts) + -- vbox note taking function _G.Toggle_venn() local venn_enabled = vim.inspect(vim.b.venn_enabled) |