summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/mappings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r--.config/nvim/lua/mappings.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index 63eb045..6c17177 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -12,7 +12,6 @@ local function map(mode, lhs, rhs, opts)
12 vim.api.nvim_set_keymap(mode, lhs, rhs, options) 12 vim.api.nvim_set_keymap(mode, lhs, rhs, options)
13end 13end
14 14
15-- local map = vim.api.nvim_set_keymap
16local cmd = vim.cmd 15local cmd = vim.cmd
17local M = {} 16local M = {}
18 17
@@ -159,10 +158,13 @@ map('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>")
159map('n', '<F3>', ":Vista focus<cr>") 158map('n', '<F3>', ":Vista focus<cr>")
160map('n', '<F4>', ":Vista finder<cr>") 159map('n', '<F4>', ":Vista finder<cr>")
161 160
162 161-- dashboard
163map('n', '<Leader>fh', ':DashboardFindHistory<CR>') 162map('n', '<Leader>fh', ':DashboardFindHistory<CR>')
164map('n', '<Leader>ff', ':DashboardFindFile<CR>') 163map('n', '<Leader>ff', ':DashboardFindFile<CR>')
165map('n', '<Leader>fa', ':DashboardFindWord<CR>') 164map('n', '<Leader>fa', ':DashboardFindWord<CR>')
166map('n', '<Leader>fb', ':DashboardJumpMark<CR>') 165map('n', '<Leader>fb', ':DashboardJumpMark<CR>')
167map('n', '<Leader>cn', ':DashboardNewFile<CR>') 166map('n', '<Leader>cn', ':DashboardNewFile<CR>')
167
168-- toggle rose pine theme
169map('n', 'cz', [[<cmd>lua require('rose-pine.functions').toggle_variant({'dawn', 'base'})<cr>]], { noremap = true, silent = true })
168-- }}} plug mappings -- 170-- }}} plug mappings --