Last active
August 8, 2020 08:19
-
-
Save OMantere/b90ac75c578602e5cfc0d909b9ccf1fe to your computer and use it in GitHub Desktop.
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" Testing | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
set rtp+=~/.vim/bundle/ctrlp.vim | |
set rtp+=~/.fzf | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdcommenter' | |
Plugin 'junegunn/fzf.vim' | |
Plugin 'itchyny/lightline.vim' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=4 | |
" On pressing tab, insert 4 spaces | |
set expandtab | |
set autoindent | |
set smartindent | |
syntax on | |
" Security | |
set modelines=0 | |
" Show line numbers | |
set number | |
" Show file stats | |
set ruler | |
" Encoding | |
set encoding=utf-8 | |
let mapleader = "," | |
" Whitespace | |
set wrap | |
set formatoptions=tcqrn1 | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set noshiftround | |
" Rendering | |
set ttyfast | |
" fzf | |
nmap ; :Buffers<CR> | |
nmap <Leader>t :Files<CR> | |
nmap <Leader>r :Tags<CR> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment