Guest Chup Posted May 23, 2014 Posted May 23, 2014 EDIT I've only just seen the help part in the plug in manager! I'm going to have a read of that tomorrow, bit late here now! Any advice welcome, or referencing to parts of that manual.... cheers How do... I'm guessing there are some VIM users in here? I'm only just starting, and I don't really get what the deal is with all the plugin's and stuff along those lines. I've downloaded some plugins, but I don't actually know how to (a) see what they do before I download them (I just search for 'color' or something) (b) use them once they're downloaded. I downloaded one called zephire color, or something along those lines. I just wanted some more colour options because the ones in Code: :colorscheme <TAB> weren't that great... And It was something to do! So I'll try a different example : Night-Vision-Color-scheme Cool.... So I've gone : into :PluginSearch! highlighted night vision, pressed i added it to my .vimrc saved the file and quit... reopened it - gone into colorscheme, night vision is in there :) BUT, when I try to select it I get an error! It says something about syntax highlighting, but the syntax highlight comes after that plugin in the .vimrc here's an image : nightvision.jpg here's my .vimrc : Code: set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " This is the Vundle package, which can be found on GitHub. " For GitHub repos, you specify plugins using the " 'user/repository' format Plugin 'gmarik/vundle' " We could also add repositories with a ".git" extension Plugin 'scrooloose/nerdtree.git' " To get plugins from Vim Scripts, you can reference the plugin " by name as it appears on the site Plugin 'Buffergator' Plugin 'Night-Vision-Colorscheme' "adds color's to VIM apparently. Plugin 'colorize' Plugin 'Zephyr-Color-Scheme' " Just a shitload of color schemes. " " https://github.com/flazz/vim-colorsc...t-colorschemes "Plugin 'flazz/vim-colorschemes' " Fuzzy finder -- absolutely must have. "Plugin 'kien/ctrlp.vim' " vim indents HTML very poorly on it's own. This fixes a lot of that. "Plugin 'indenthtml.vim' " Now we can turn our filetype functionality back on filetype plugin indent on syntax on set autoindent " Match indents on new lines set smartindent " Intellegently dedent / indent new lines based on rules set number " We have VCS -- we don't need this stuff. set nobackup " We have vcs, we don't need backups. set nowritebackup " We have vcs, we don't need backups. set noswapfile " They're just annoying. Who likes them? " Make search more sane set ignorecase " case insensitive search set smartcase " If there are uppercase letters, become case-sensitive. set incsearch " live incremental searching set showmatch " live match highlighting set hlsearch " highlight matches set gdefault " use the `g` flag by default. " So we don't have to reach for escape to leave insert mode. noremap jf <esc> " create new vsplit, and switch to it. "noremap <leader>v <C-w> EDIT Here's a link to an image of the error! http://i.imgur.com/mc31WXC.png The other ones too reduced. Attached Images nightvision.jpg (10.9 KB) Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.