diff options
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index db2a552..1512fee 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua | |||
@@ -59,9 +59,6 @@ vim.keymap.set('n', 'X', 'D') | |||
59 | -- change into pwd of current directory | 59 | -- change into pwd of current directory |
60 | vim.keymap.set('n', '<Leader>cd', ':lcd %:p:h<CR>:pwd<CR>') | 60 | vim.keymap.set('n', '<Leader>cd', ':lcd %:p:h<CR>:pwd<CR>') |
61 | 61 | ||
62 | -- press \g and start writing prose | ||
63 | vim.keymap.set('n', '<Leader>g', ':Goyo<CR>') | ||
64 | |||
65 | -- call CreatePaper on word below cursor | 62 | -- call CreatePaper on word below cursor |
66 | vim.keymap.set('n', '<leader>np', 'gewi[[/papers/<ESC>Ea]]<ESC>bb:call CreatePaper(expand("<cword>"))<CR>') | 63 | vim.keymap.set('n', '<leader>np', 'gewi[[/papers/<ESC>Ea]]<ESC>bb:call CreatePaper(expand("<cword>"))<CR>') |
67 | 64 | ||