diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-08-17 20:32:06 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-08-17 20:32:06 +0200 |
| commit | cb3396bb6730d8fff0444596283d16179dccfffd (patch) | |
| tree | 04184125939d74c19c8ee3aeb0339102dd76c6a7 /nvim/basics.vim | |
| parent | 24c738b97080909aa029ad36a92e6d4ba0b996ac (diff) | |
| parent | 7a3c30f43e22878e8c451ac3cd6115b86b6cdebd (diff) | |
Merge branch 'main' of github.com:Laitram31/.config
Diffstat (limited to 'nvim/basics.vim')
| -rw-r--r-- | nvim/basics.vim | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/nvim/basics.vim b/nvim/basics.vim deleted file mode 100644 index bf1706e..0000000 --- a/nvim/basics.vim +++ /dev/null @@ -1,38 +0,0 @@ -" Indent -set autoindent smartindent -set tabstop=8 " n of whitespace in \t -set shiftwidth=8 " n of whitespace for indent -set softtabstop=8 " n of whitespace to delete with backspace -"set expandtab " \t -> whitespaces -"set list -"set lcs=tab:\|\ ,space:⋅,eol:$ "↴ - -" Disable the mouse, btw use shift for highlighting -"set mouse= -map <Middlemouse> <Nop> -imap <Middlemouse> <Nop> -aunmenu PopUp - -" better <C-d> and <C-u> -nnoremap <C-d> <C-d>zz -nnoremap <c-u> <c-u>zz - -" Autocorrect -abbr hte the - -" Misc -set nu rnu -set cc=80 -set tw=79 -set title -set nohls -set tgc -set clipboard+=unnamedplus -autocmd FileType * setl fo-=ro fo+=tc - -" Language specific -autocmd FileType python setl ts=4 sw=4 sts=4 expandtab -autocmd FileType lisp,html setl ts=2 sw=2 sts=2 expandtab -autocmd FileType html,markdown setl spell -autocmd FileType tex setl spell spl=fr -autocmd BufWritePost *.c silent! !astyle -A3 -t8 -p -xg -H -xB -n %:p |
