Archive for the ‘vim’ Category

Vim Plugins

April 13, 2011

Log the current plugins

a
ack-vim
bufexplorer
calmar256
csapprox
delimitmate
endwise
git-runtime
git-vim
gundo
indexed-search
lusty
markdown-runtime
matchit
neocomplcache
nerdcommenter
nerdtree
ragtag
rails
snipmate
supertab
surround
syntastic
taglist
ultisnips

vim-blackboard
vim-coffee-script
vim-cucumber
vim-javascript
vim-ruby
vim-ruby-refactoring
vim-scratch
vim-unimpaired
vividchalk
zencoding

After removing unused Plugins

Add Plugins

A text-object for ruby blocks

textobj-user
textobj-rubyblock

After changes

bufexplorer/
calmar256/
csapprox/
matchit/
nerdtree/
surround/
taglist/
vim-blackboard/
vim-colors-solarized/
vim-javascript/
vim-scratch/
vim-textobj-rubyblock/
vim-textobj-user/
vividchalk/

 

Advertisements

Linux console with >8 colors

March 8, 2011


Upgrading Linux terminal to 256 Colors

from http://pastelinux.com/2010/12/01/upgrading-linux-terminal-to-256-colors/

VIM!The Amazing thing about being in the world of 2010 is we have so many more advance technologies. When it comes to linux terminal, there are so many wonders that can be done. But how come the default terminal colors are 8?

Go ahead type:

tput colors
see that number 8? ridiculous right?

As of now there is a posibility of 256 colors  usable for the terminal.
Luckily this is easy to make happen!
First install:

sudo apt-get install ncurses-term

and stick the following in your ~/.bashrc and/or ~/.bash_profile:

export TERM=xterm-256color

After you edit your .bashrc or .bash_profile source that same file:

source ~/.bashrc

Now retype that command above

tput colors

Vim installation and setup

March 4, 2011

Remove Current Vim

sudo apt-get –purge remove vim
sudo apt-get autoremove

Build latest vim from source

Download latest

hg clone https://vim.googlecode.com/hg/ vim

Build

./configure –with-features=huge –enable-rubyinterp — enable-python

(python-dev required)

make

sudo checkconfig

Dotfile folder on Guthub and linked in place

~/dotfiles

~/dotfiles/symlink.sh

~/dotfiles/vim/

~/dotfiles/vimrc

Vim Setups to Watch

git://github.com/tpope/tpope.git
git://github.com/coreyhaines/vimfiles.git
git://github.com/spicycode/Vimlander-2-The-Quickening.git

Plugins

Pathogen.vim

https://github.com/tpope/vim-pathogen

Pathogen is a simple library for manipulating comma delimited path options. Add this to your vimrc:

call pathogen#runtime_append_all_bundles()

After adding this, you can take any plugin, unzip/untar/svn-checkout/git-clone it to its own private directory in .vim/bundle, and it will be added to the runtime path.  This makes it easy to remove or update each plugin individually.

Add vim scripts to submodules

git submodule add git://github.com/nelstrom/vim-blackboard.git vim/bundle/vim-blackboard
git submodule init
git submodule update