Daybreaker94 icon

_vimrc

Daybreaker94 | PRO | 06/14/18 05:43:52 AM UTC | 0 ⭐ | 5376 👁️ | Never ⏰ | []
VIM |

2.1 KB

|

None

|

0 👍

/

0 👎

:colorscheme molokai
 
" set guifont=Lucida_Sans_Typewriter:h11:cANSI:qDRAFT
set guifont=Lucida_Console:h11:cANSI:qDRAFT
" set guifont=Consolas:h11:cANSI:qDRAFT
 
 
" pathogen PLUGIN
execute pathogen#infect()
 
" This with change tabs to spaces
set tabstop=4
" set softtabstop=4
" set shiftwidth=4
" set expandtab
 
filetype plugin on
 
syntax on
set relativenumber "sets numbers relative to line
set nocompatible
set number
set cursorline
set showmatch
set lazyredraw
 
set incsearch
set hlsearch
 
" Indent follows above line
set autoindent
" Indenting for c stuff
set smartindent
 
 
" KEY MAPPINGS:
 
map <F6> :setlocal spell! spelllang=en_us<CR>
map <F5> :set relativenumber! <CR>
 
map <C-n> :NERDTreeToggle<CR>
 
let mapleader=","
map <leader>tn :tabnew<CR>
map <leader>tw :tabnext<CR>
map <leader>tq :-tabnext<CR>
 
    " Unbinds arrow keys in normal mode
    " no <down> <Nop>
    " no <left> <Nop>
    " no <right> <Nop>
    " no <up> <Nop>
 
    " Unbinds arrow keys in insert mode 
    " ino <down> <Nop>
    " ino <left> <Nop>
    " ino <right> <Nop>
    " ino <up> <Nop>
 
" FINDING FILES:
" Search down into subfolders
" Provides tab-completeion for all file-related tasks
set path+=**
 
" Display all matching files when we tab complete
set wildmenu
    " ALLLOWS:
    "  - Hit tab to :find by partial match
    "  - Use * to make it fuzzy
 
        " TAG JUMPING:
        " NEEDS LINUX
        " Create tags file
        "command! MakeTags !ctags -R .
 
 
 
" FILETYPE SHIT:
 
" TYPESCRIPT:
let g:typescript_indent_disable = 1
 
" HTML Binds:
" space space to jump to next <++>
autocmd FileType html inoremap <Space><Space> <Esc>/<++><Enter>"_c4l
 
" h1 tags
autocmd FileType html inoremap ;h1 <h1></h1><Space><++><Esc>FhT>i
" h2 tags
autocmd FileType html inoremap ;h2 <h2></h2><Space><++><Esc>FhT>i
" h3 tags
autocmd FileType html inoremap ;h3 <h3></h3><Space><++><Esc>FhT>i
" bold tags
autocmd FileType html inoremap ;b <b></b><Space><++><Esc>FbT>i
" paragraph tags
autocmd FileType html inoremap ;p <p></p><Enter><++><Esc>2k$FpT>i
" emphatic tags
autocmd FileType html inoremap ;e <em></em><Space><++><Esc>FeT>i

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎