Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax on
- filetype plugin on
- autocmd Filetype python setlocal expandtab shiftwidth=4 softtabstop=4
- set nu
- set hlsearch
- set autoindent
- set ruler
- set smartindent
- set history=150
- set mouse=a
- set t_Co=256
- set smarttab
- set colorcolumn=88
- set pastetoggle=<f5>
- set wildmenu
- set scrolloff=999
- set smartcase
- set magic
- cmap w!! %!sudo tee > /dev/null %
- filetype plugin indent on
- """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- " => Text, tab and indent related
- " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- " " Use spaces instead of tabs
- set expandtab
- " Be smart when using tabs ;)
- set smarttab
- set shiftwidth=4
- set tabstop=4
- " " Linebreak on 500 characters
- set lbr
- set tw=500
- set ai "Auto indent
- set si "Smart indent
- set wrap "Wrap lines
- set showcmd
- set cursorline
- set showmatch
- """"""""""""""""""""""""""""""
- " => Status line
- " """"""""""""""""""""""""""""""
- " " Always show the status line
- set laststatus=2
- " " Format the status line
- set statusline=\ %F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \
- " Tmux -- Allows Cursor change in tmux mode
- if exists('$TMUX')
- let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
- let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
- else
- let &t_SI = "\<Esc>]50;CursorShape=1\x7"
- let &t_EI = "\<Esc>]50;CursorShape=0\x7"
- endif
- colorscheme elflord
- set background=dark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement