stuff
This commit is contained in:
parent
efdd0d4735
commit
530ae29767
4 changed files with 6 additions and 0 deletions
3
.vimrc
3
.vimrc
|
@ -219,6 +219,7 @@ function SetIdentWidth()
|
|||
endfunction
|
||||
|
||||
noremap <leader>i :call SetIdentWidth()<CR>
|
||||
noremap <leader>r :call ToggleRelative()<CR>
|
||||
|
||||
" Automatically user relative lines when not in insert mode
|
||||
" au InsertLeave * :set relativenumber
|
||||
|
@ -255,3 +256,5 @@ endif
|
|||
digraphs \- 8866
|
||||
digraphs -\ 8867
|
||||
|
||||
" Markdown
|
||||
let g:markdown_fenced_languages = ['python', 'typescript', 'javascript', 'haskell']
|
||||
|
|
1
after/ftplugin/cabal.vim
Normal file
1
after/ftplugin/cabal.vim
Normal file
|
@ -0,0 +1 @@
|
|||
set expandtab softtabstop=4 shiftwidth=4
|
1
after/ftplugin/ocaml.vim
Normal file
1
after/ftplugin/ocaml.vim
Normal file
|
@ -0,0 +1 @@
|
|||
set expandtab shiftwidth=2 tabstop=2
|
1
after/indent/c.vim
Normal file
1
after/indent/c.vim
Normal file
|
@ -0,0 +1 @@
|
|||
set cinoptions=(4
|
Loading…
Add table
Add a link
Reference in a new issue