Last active
December 21, 2015 16:29
-
-
Save kohyama/6333856 to your computer and use it in GitHub Desktop.
To set filetype features of slimv on/off individually.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" part of my .vimrc | |
" -- neobundle | |
set nocompatible | |
filetype off | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim | |
call neobundle#rc(expand('~/.vim/bundle')) | |
endif | |
set shell=/bin/sh | |
" clojure | |
NeoBundle 'tpope/vim-fireplace' | |
NeoBundle 'tpope/vim-classpath' | |
NeoBundle 'guns/vim-clojure-static' | |
" lisp | |
"NeoBundle 'slimv.vim' | |
NeoBundle 'https://bitbucket.org/kovisoft/slimv' | |
" -- general | |
set tabstop=2 | |
set expandtab | |
set clipboard=unnamed | |
set autoindent | |
set backspace=indent | |
set nobackup | |
set noincsearch | |
let loaded_matchparen = 1 | |
set fdm=marker | |
syn on | |
colorscheme delek | |
filetype plugin on | |
" -- scheme.vim use gauche | |
autocmd FileType scheme :let is_gauche=1 | |
" -- slimv use sbcl | |
let g:slimv_disable_clojure=1 | |
let g:paredit_disable_clojure=1 | |
let g:slimv_lisp='sbcl' | |
let g:lisp_rainbow=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1: /usr/share/vim/vimrc | |
2: /Users/myname/.vimrc | |
3: /usr/share/vim/vim72/ftoff.vim | |
4: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle.vim | |
5: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/util.vim | |
6: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/config.vim | |
7: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/autoload.vim | |
8: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/parser.vim | |
9: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/types/git.vim | |
10: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/types/hg.vim | |
11: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/types/nosync.vim | |
12: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/types/raw.vim | |
13: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/types/svn.vim | |
14: /Users/myname/.vim/bundle/neobundle.vim/autoload/neobundle/init.vim | |
15: /usr/share/vim/vim72/syntax/syntax.vim | |
16: /usr/share/vim/vim72/syntax/synload.vim | |
17: /usr/share/vim/vim72/syntax/syncolor.vim | |
18: /usr/share/vim/vim72/filetype.vim | |
19: /Users/myname/.vim/bundle/vim-clojure-static/ftdetect/clojure.vim | |
20: /Users/myname/.vim/bundle/vim2hs/ftdetect/cabalconfig.vim | |
21: /Users/myname/.vim/bundle/vim2hs/ftdetect/heist.vim | |
22: /Users/myname/.vim/bundle/vim2hs/ftdetect/jmacro.vim | |
23: /Users/myname/.vim/bundle/slimv/ftdetect/clojure.vim | |
24: /Users/myname/.vim/bundle/neobundle.vim/ftdetect/vimrecipe.vim | |
25: /usr/share/vim/vim72/colors/delek.vim | |
26: /usr/share/vim/vim72/ftplugin.vim | |
27: /Users/myname/.vim/plugin/local_vimrc.vim | |
28: /Users/myname/.vim/bundle/autodate.vim/plugin/autodate.vim | |
29: /Users/myname/.vim/bundle/nerdtree/plugin/NERD_tree.vim | |
30: /Users/myname/.vim/bundle/nerdtree/autoload/nerdtree.vim | |
31: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/path.vim | |
32: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/menu_controller.vim | |
33: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/menu_item.vim | |
34: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/key_map.vim | |
35: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/bookmark.vim | |
36: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/tree_file_node.vim | |
37: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/tree_dir_node.vim | |
38: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/opener.vim | |
39: /Users/myname/.vim/bundle/nerdtree/lib/nerdtree/creator.vim | |
40: /Users/myname/.vim/bundle/nerdtree/nerdtree_plugin/exec_menuitem.vim | |
41: /Users/myname/.vim/bundle/nerdtree/nerdtree_plugin/fs_menu.vim | |
42: /Users/myname/.vim/bundle/vim-fireplace/plugin/fireplace/zip.vim | |
43: /usr/share/vim/vim72/autoload/zip.vim | |
44: /Users/myname/.vim/bundle/vim-fireplace/plugin/fireplace.vim | |
45: /Users/myname/.vim/bundle/vim-classpath/plugin/classpath.vim | |
46: /Users/myname/.vim/bundle/vim2hs/plugin/haskell_tags.vim | |
47: /Users/myname/.vim/bundle/vim2hs/plugin/hpaste.vim | |
48: /Users/myname/.vim/bundle/vim2hs/plugin/offside.vim | |
49: /Users/myname/.vim/bundle/slimv/plugin/paredit.vim | |
50: /usr/share/vim/vim72/indent.vim | |
51: /usr/share/vim/vim72/plugin/getscriptPlugin.vim | |
52: /usr/share/vim/vim72/plugin/gzip.vim | |
53: /usr/share/vim/vim72/plugin/matchparen.vim | |
54: /usr/share/vim/vim72/plugin/netrwPlugin.vim | |
55: /usr/share/vim/vim72/plugin/rrhelper.vim | |
56: /usr/share/vim/vim72/plugin/spellfile.vim | |
57: /usr/share/vim/vim72/plugin/tarPlugin.vim | |
58: /usr/share/vim/vim72/plugin/tohtml.vim | |
59: /usr/share/vim/vim72/plugin/vimballPlugin.vim | |
60: /usr/share/vim/vim72/plugin/zipPlugin.vim | |
61: /Users/myname/.vim/bundle/neobundle.vim/plugin/neobundle.vim | |
62: /Users/myname/.vim/bundle/vim2hs/after/plugin/tabular_haskell.vim | |
63: /Users/myname/.vim/bundle/vim2hs/autoload/vim2hs.vim | |
64: /Users/myname/.vim/bundle/vim2hs/autoload/vim2hs/haskell/editing.vim | |
65: /usr/share/vim/vim72/scripts.vim | |
66: /Users/myname/.vim/bundle/vim-clojure-static/syntax/clojure.vim | |
67: /Users/myname/.vim/bundle/slimv/syntax/clojure/slimv-syntax-clojure.vim | |
68: /Users/myname/.vim/bundle/vim-clojure-static/ftplugin/clojure.vim | |
69: /Users/myname/.vim/bundle/slimv/ftplugin/clojure/slimv-clojure.vim | |
70: /Users/myname/.vim/bundle/vim-classpath/autoload/classpath.vim | |
71: /Users/myname/.vim/bundle/vim-clojure-static/indent/clojure.vim | |
72: /Users/myname/.vim/bundle/slimv/indent/clojure.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using vim-clojure and fireplace, but I don't use filetype indent.
I've installed slimv and am trying to use slimv to edit common lisp sources.
But I want vim to stay as it was for clojure, for now.
Use .vimrc above and
vi foo.clj
; <- here
Inputting two spaces, a semicolon and an enter, takes the cursor to the first column of the next line.
That's not what I intended.
Then uninstall slimv (i.e. commenting out the NeoBundle slimv line from .vimrc and doing :NeoBundleClean),
and
vi foo.clj
; <- here
Inputting two spaces, a semicolon and an enter, takes the cursor to the third column of the next line.
That's what I intended and what that was before slimv installed.
Because
filetype indent on
set autoindent
My environment: