[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Vim Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 2

File: vim.sh.png (29KB, 650x650px) Image search: [Google]
vim.sh.png
29KB, 650x650px
Making this partially because I need help with making it work more like an ide, but this is also a general discussion thread about vim.
>>
Post you're vimrcs:
filetype plugin indent on
syntax on

colorscheme jellybeans

set ls=2

set cindent

set number

set hlsearch
set incsearch
set ignorecase
set smartcase

set ruler

set mouse=a
>>
>>56958513
>jellybeans
good taste
>>
set nocompatible              " required
filetype off " required

set number
set mouse=a
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)

" Utilities
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" Custom Key Mappings


i've got vundle installed and i'm still modifying it
>>
call pathogen#infect()
filetype off
syntax on
filetype plugin indent on
let mapleader = " "
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
xnoremap <leader>c <esc>:'<,'>:w !cat > vimClipping<CR>

colorscheme phd
set ts=4 sw=4 et
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
set omnifunc=syntaxcomplete#Complete
>>
I keep it vanilla.

" General
" =======
set encoding=utf8
set history=700
set backup
set backupdir ~/.vim/backup
set ic

" Interface
" =========
set nu
set cursorline

" Indenting
" =========
set tabstop=4 shiftwidth=4 expandtab
set smartindent
set autoindent
set wrap

" Status Line
" ===========
" From tpope
set laststatus=2
set statusline=[%n]\ %<%.99f\ %h%w%m%r%y%-16(\ %l,%c-%v\ %)%P
>>
set backupdir=~/.vim/tmp//
set directory=~/.vim/tmp//
set undodir=~/.vim/tmp//

set title ruler
set tabstop=8 softtabstop=2 shiftwidth=2 expandtab

autocmd Filetype python setlocal softtabstop=4 shiftwidth=4 expandtab

function Trim()
let l = line(".")
let c = col(".")
%s/\s\+$//e
call cursor(l, c)
endfunction
>>
File: 1380275299694.png (255KB, 499x513px) Image search: [Google]
1380275299694.png
255KB, 499x513px
>>56959174
>set tabstop=4 shiftwidth=4 expandtab
>>
>>56959275
It's what happens when you work with shitty code that has mixed tabs and spaces and irregular indentations
Thread posts: 9
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.