Skip to content

Instantly share code, notes, and snippets.

@isomorphisms
Created February 19, 2014 10:22
Show Gist options
  • Save isomorphisms/9089399 to your computer and use it in GitHub Desktop.
Save isomorphisms/9089399 to your computer and use it in GitHub Desktop.
" fun! MySys()
" return "$1"
" endfun
" set runtimepath=~/.vim_runtime,~/.vim_runtime/after,\$VIMRUNTIME
" source ~/.vim_runtime/vimrc
" helptags ~/.vim_runtime/doc
imap jk <Esc>
imap kj <Esc>
" exuberant CTAGS warning http://bugzilla.redhat.com/show_bug.cgi?id=429200
"let Tlist_Ctags_Cmd = '/usr/local/bin/ctags'
""http://amix.dk/blog/post/19329
"let Tlist_WinWidth = 50
"map <F4> :TlistToggle<cr>
"map <F8> :!/usr/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
" highlight regex while searching
set hlsearch
""instant / while typing
set incsearch
"pathogen.vim
"http://www.vim.org/scripts/script.php?script_id=2332
""http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen
"call pathogen#infect()
"runtime bundle/vim-pathogen/autoload/pathogen.vim
"syntax on
"filetype plugin indent on
" https://github.com/jcfaria/Vim-R-plugin/blob/master/syntax/rmd.vim
let rmd_syn_hl_chunk = 1
" freenode phy1729
syntax on
filetype indent plugin on
set autoindent
"not set cindent, not set smartindent
set nocompatible
syntax enable
" http://www.lepem.ufc.br/jaa/r-plugin.html#r-plugin-installation
" Lines added by the Vim-R-plugin command :RpluginConfig (2014-Feb-16 06:02):
" Use Ctrl+Space to do omnicompletion:
if has("gui_running")
inoremap <C-Space> <C-x><C-o>
else
inoremap <Nul> <C-x><C-o>
endif
" Force Vim to use 256 colors if running in a capable terminal emulator:
if &term =~ "xterm" || &term =~ "256" || $DISPLAY != "" || $HAS_256_COLORS == "yes"
set t_Co=256
endif
" There are hundreds of color schemes for Vim on the internet, but you can
" start with color schemes already installed.
" Click on GVim menu bar "Edit / Color scheme" to know the name of your
" preferred color scheme, then, remove the double quote (which is a comment
" character, like the # is for R language) and replace the value "not_defined"
" below:
"colorscheme slate "codeschool
"
"
"http://www.lepem.ufc.br/jaa/r-plugin.html#r-plugin-quick-setup
set shiftwidth=4
"set tabstop=4
"set expandtab
"
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment