You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"-----GENERAL-----
"The default leader is a backslash, but we use ','
let mapleader = ','
"Fix backsapce key"
set backspace=indent,eol,start
"Set language for spell check
setlocal spell spelllang=en_us
"Fixing tabs and indentation
set tabstop=4
set expandtab
set shiftwidth=4
set autoindent
set smartindent
set cindent
"Refresh buffer
set autoread
"-----VUNDLE-----
so ~/.vim/plugins.vim
"-----VISUAL-----
"Syntax highlighting
syntax enable
"From https://github.com/gosukiwi/vim-atom-dark
colorscheme atom-dark-256
set t_Co=256
"Force 256 colors in terminal
set t_CO=256
"Show line numbers
set number
"Show column length
set ruler
"Show visual mark at the 80th character
set colorcolumn=80
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
"-----MAPPINGS-----
"Quick edit .vimrc
nmap <Leader>ev :tabedit $MYVIMRC<cr>
"Removes the highlighted search results
nmap <Leader><space> :nohlsearch<cr>
nmap <Leader>d :NERDTreeToggle<cr>
"-----SPLIT-MANAGEMENT-----
nmap <C-J> <C-W><C-J>
nmap <C-K> <C-W><C-K>
nmap <C-H> <C-W><C-H>
nmap <C-L> <C-W><C-L>
"-----CtrlP-Binding-----
nmap <C-r> :CtrlPBufTag<cr>
"-----AUTO-COMMANDS-----
augroup autosourcing
autocmd!
"Auto sourcing the .vimrc file on safe
autocmd BufWritePost .vimrc source %
augroup END
"-----SEARCHING-----
set hlsearch
set incsearch
The text was updated successfully, but these errors were encountered:
This is kinda annoying and Google is giving me wrong answers.
Whenever I paste text from the clipboard into vim, it replaces all occurrences of
256
with<t_Co>
.I use vim in gnome-terminal
vim version is
My vim config is
The text was updated successfully, but these errors were encountered: