Ajout du vimrc du dédié
This commit is contained in:
parent
e7c62d2659
commit
b43f228a7c
45
.vimrc
45
.vimrc
@ -1,4 +1,47 @@
|
||||
set nocompatible
|
||||
syntax on
|
||||
highlight Comment ctermfg=Blue
|
||||
|
||||
" General
|
||||
set number " Show line numbers
|
||||
set linebreak " Break lines at word (requires Wrap lines)
|
||||
set showbreak=+++ " Wrap-broken line prefix
|
||||
set textwidth=100 " Line wrap (number of cols)
|
||||
set showmatch " Highlight matching brace
|
||||
set visualbell " Use visual bell (no beeping)
|
||||
set nocompatible " Fix arrow A,B,C,D
|
||||
set hlsearch " Highlight all search results
|
||||
set smartcase " Enable smart-case search
|
||||
set ignorecase " Always case-insensitive
|
||||
set incsearch " Searches for strings incrementally
|
||||
|
||||
" set autoindent " Auto-indent new lines
|
||||
set expandtab " Use spaces instead of tabs
|
||||
" set shiftwidth=4 " Number of auto-indent spaces
|
||||
" set smartindent " Enable smart-indent
|
||||
" set smarttab " Enable smart-tabs
|
||||
set softtabstop=2 " Number of spaces per Tab
|
||||
|
||||
" Advanced
|
||||
set ruler " Show row and column ruler information
|
||||
|
||||
set undolevels=1000 " Number of undo levels
|
||||
set backspace=indent,eol,start " Backspace behaviour
|
||||
|
||||
" Generated by VimConfig.com
|
||||
|
||||
" Always display a status line at the bottom of the window
|
||||
set laststatus=2
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
set hlsearch
|
||||
endif
|
||||
|
||||
" Select all.
|
||||
map <c-a> ggVG
|
||||
|
||||
" Undo in insert mode.
|
||||
imap <c-z> <c-o>u
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user