Created
December 22, 2014 15:57
-
-
Save CarlosMecha/03b867906ba879699d1a to your computer and use it in GitHub Desktop.
Common Vim configuration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime! debian.vim | |
" Splashscreen | |
set shortmess=I | |
syntax on | |
set nu | |
set smartindent | |
set softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set encoding=utf-8 | |
" Always show the status line | |
set laststatus=2 | |
" Format the status line | |
set statusline=%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l/%L\ %P | |
" C++ syntax in *.ino and *.pde files (Arduino) | |
autocmd BufNewFile,BufReadPost *.ino,*.pde set filetype=cpp | |
" Markdown syntax in *.md files | |
autocmd BufNewFile,BufReadPost *.md set filetype=markdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment