everythign is easier than i think
This commit is contained in:
parent
d0a624b436
commit
92f7a4c2a2
4 changed files with 78 additions and 30 deletions
17
home/nvim/autocommands.vim
Normal file
17
home/nvim/autocommands.vim
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
augroup markdown
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufRead *.Rmd,*.rmd set ft=rmd
|
||||
autocmd BufNewFile,BufRead *.md,*.markdown set ft=markdown
|
||||
autocmd BufNewFile,BufRead *.md,*.markdown set syntax=rmd
|
||||
augroup end
|
||||
|
||||
augroup netrw
|
||||
autocmd!
|
||||
autocmd FileType netrw setl bufhidden=wipe
|
||||
augroup end
|
||||
|
||||
augroup repl
|
||||
autocmd!
|
||||
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||
autocmd TermOpen * nmap <buffer> Q :bdelete!<enter>
|
||||
augroup end
|
||||
Loading…
Add table
Add a link
Reference in a new issue