diff options
Diffstat (limited to '.config/nvim/lua/mappings.lua')
| -rw-r--r-- | .config/nvim/lua/mappings.lua | 6 | 
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) | 
| 13 | end | 13 | end | 
| 14 | 14 | ||
| 15 | -- local map = vim.api.nvim_set_keymap | ||
| 16 | local cmd = vim.cmd | 15 | local cmd = vim.cmd | 
| 17 | local M = {} | 16 | local M = {} | 
| 18 | 17 | ||
| @@ -159,10 +158,13 @@ map('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>") | |||
| 159 | map('n', '<F3>', ":Vista focus<cr>") | 158 | map('n', '<F3>', ":Vista focus<cr>") | 
| 160 | map('n', '<F4>', ":Vista finder<cr>") | 159 | map('n', '<F4>', ":Vista finder<cr>") | 
| 161 | 160 | ||
| 162 | 161 | -- dashboard | |
| 163 | map('n', '<Leader>fh', ':DashboardFindHistory<CR>') | 162 | map('n', '<Leader>fh', ':DashboardFindHistory<CR>') | 
| 164 | map('n', '<Leader>ff', ':DashboardFindFile<CR>') | 163 | map('n', '<Leader>ff', ':DashboardFindFile<CR>') | 
| 165 | map('n', '<Leader>fa', ':DashboardFindWord<CR>') | 164 | map('n', '<Leader>fa', ':DashboardFindWord<CR>') | 
| 166 | map('n', '<Leader>fb', ':DashboardJumpMark<CR>') | 165 | map('n', '<Leader>fb', ':DashboardJumpMark<CR>') | 
| 167 | map('n', '<Leader>cn', ':DashboardNewFile<CR>') | 166 | map('n', '<Leader>cn', ':DashboardNewFile<CR>') | 
| 167 | |||
| 168 | -- toggle rose pine theme | ||
| 169 | map('n', 'cz', [[<cmd>lua require('rose-pine.functions').toggle_variant({'dawn', 'base'})<cr>]], { noremap = true, silent = true }) | ||
| 168 | -- }}} plug mappings -- | 170 | -- }}} plug mappings -- | 
