Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vimrc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
vimrc
Commits
90035c00
Commit
90035c00
authored
Feb 07, 2015
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added in settings from /etc/vimrc
parent
fa42d243
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
9 deletions
+72
-9
vimrc
vimrc
+72
-9
No files found.
vimrc
View file @
90035c00
set nocompatible
set ruler
set number
set bg=dark
set incsearch
" This shows what you are typing as a command. I love this!
set showcmd
"
" Who doesn't like autoindent?
set autoindent
" Needed for Syntax Highlighting and stuff
filetype on
filetype plugin on
filetype plugin indent on
syntax enable
set grepprg=grep\ -nH\ $*
" Spaces are better than a tab character
" set expandtab
set smarttab
" Who wants an 8 character tab? Not me!
set tabstop=4
set shiftwidth=4
set softtabstop=4
" Cool tab completion stuff
set wildmenu
set wildmode=list:longest,full
set ignorecase
set smartcase
set incsearch
set hlsearch
set showmatch
set tags=tags;/
set wrap
set formatoptions=tcrql
set scrolloff=5 " keep at least 5 lines above/below
set sidescrolloff=5 " keep at least 5 lines left/right
set history=200
set backspace=indent,eol,start
set undolevels=1000 " 1000 undos
set updatecount=100 " switch every 100 chars
set complete=.,w,b,u,U,t,i,d " do lots of scanning on tab completion
set ttyfast " we have a fast terminal
set title
nore ; :
nore , ;
map < :tabp<CR>
map > :tabn<CR>
command! C let @/=""
command! Make make!
cmap w!! w !sudo tee >/dev/null %
colorscheme elflord
execute pathogen#infect()
"let g:haddock_browser="/usr/bin/firefox"
let g:syntastic_cpp_compiler_options=' -std=c++11'
let g:localrc_filename=".lvimrc"
au Bufenter *.hs compiler ghc
let g:SuperTabDefaultCompletionType="context"
set omnifunc=syntaxcomplete#Complete
set foldmethod=syntax
"let g:SuperTabDefaultCompletionType = \"<C-X><C-O>\"
set laststatus=2
set pastetoggle=<F10>
let g:syntastic_cpp_compiler_options=' -std=c++11'
autocmd Filetype gitcommit setlocal spell textwidth=72
let g:syntastic_python_python_exec = '/usr/bin/python3'
vnoremap cy "*y
vnoremap cp "*p
inoremap <Down> <C-o>gj
inoremap <Up> <C-o>gk
if has('cscope')
set cscopetag cscopeverbose
...
...
@@ -25,17 +94,11 @@ if has('cscope')
endif
set laststatus=2
"python from powerline.vim import setup as powerline_setup
"python powerline_setup()
"python del powerline_setup
if has("gui_running")
if has("gui_gtk2")
set guifont=Ubuntu\ Mono\ 12
endif
endif
let g:syntastic_cpp_compiler_options=' -std=c++11'
autocmd Filetype gitcommit setlocal spell textwidth=72
let g:syntastic_python_python_exec = '/usr/bin/python3'
let g:DiffColors=100
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment