1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add JavaScript and OCaml specific Vim config

This commit is contained in:
Joe Groocock 2016-10-12 14:46:25 +01:00
parent 8826f4a069
commit 77b615b1d1
5 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ bookmarks
*.log *.log
.xournal/recent-files .xournal/recent-files
.vim/bundle

View File

@ -0,0 +1 @@
set tabstop=2

View File

@ -0,0 +1 @@
set tabstop=2

View File

@ -0,0 +1,3 @@
map <c-p> <esc>:MerlinDocument<enter>
map <c-b> <esc>:MerlinLocate<enter>
map <c-.> <esc>:MerlinTypeOf<enter>

5
.vimrc
View File

@ -2,8 +2,8 @@ set nocompatible " be iMproved, required
syntax enable syntax enable
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=0
set softtabstop=4 set softtabstop=-1
set expandtab set expandtab
set number set number
set autoindent set autoindent
@ -11,6 +11,7 @@ set laststatus=2
set mouse=a set mouse=a
set encoding=utf-8 set encoding=utf-8
set background=dark set background=dark
set directory=$HOME/.vim/swapfiles//
" GVim settings " GVim settings
set guifont=Sauce\ Code\ Pro\ 10.5 set guifont=Sauce\ Code\ Pro\ 10.5