Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " enables backspacing in insert mod
- set backspace=indent,eol,start
- " turn on sintax hightlighting + automatic filetype detection
- syntax on
- filetype on
- filetype plugin on
- filetype indent on
- " Highlight search terms...
- set hlsearch
- set incsearch " ...dynamically as they are typed.
- set number
- set mouse=a
- set hidden
- let mapleader = ","
- set history=200
- runtime macros/matchit.vim
- set wildmenu
- set wildmode=list:longest
- set title
- set ruler
- set tabstop=3
- "set ai "Auto indent
- "set si "Smart indent
- " set number colum and visual mode colors
- highlight LineNr cterm=none ctermbg=none ctermfg=4
- highlight Visual ctermbg=7 ctermfg=4
- " hightlight html in php (in echo, etc.)
- let php_htmlInStrings = 1
- """"""""""""""""""""""""""""""
- "=> Visual mode related
- """"""""""""""""""""""""""""""
- " Visual mode pressing * or # searches for the current selection
- " Super useful! From an idea by Michael Naumann
- vnoremap <silent> * :call VisualSelection('f', '')<CR>
- vnoremap <silent> # :call VisualSelection('b', '')<CR>
- autocmd BufWrite *.py :call DeleteTrailingWS() "autoremove trailing spaces when python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement