mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] add an <F5> keybinding to "run" some filetypes
This commit is contained in:
parent
9da4fb95b0
commit
1066a92fd3
2 changed files with 2 additions and 0 deletions
1
nvim/after/ftplugin/html.vim
Normal file
1
nvim/after/ftplugin/html.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <buffer> <F5> <Cmd>Open<CR>
|
1
nvim/after/ftplugin/vim.vim
Normal file
1
nvim/after/ftplugin/vim.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <buffer> <F5> <Cmd>source %<CR>
|
Loading…
Reference in a new issue