Skip to content

Commit

Permalink
Switch to pear-tree from lexima
Browse files Browse the repository at this point in the history
Since it has smart pairing and lexima has the annoying esc bug[1], it's
a better alternative.

[1]: cohama/lexima.vim#88
  • Loading branch information
doronbehar committed Oct 27, 2020
1 parent e8e92d9 commit 025f8da
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@
[submodule "bundle/jsonc"]
path = bundle/jsonc
url = https://github.com/neoclide/jsonc.vim
[submodule "bundle/lexima"]
path = bundle/lexima
url = https://github.com/cohama/lexima.vim
[submodule "bundle/closetag"]
path = bundle/closetag
url = https://github.com/alvan/vim-closetag
Expand Down Expand Up @@ -271,3 +268,6 @@
[submodule "meson"]
path = bundle/meson
url = https://github.com/mesonbuild/meson
[submodule "bundle/pear-tree"]
path = bundle/pear-tree
url = https://github.com/tmsvg/pear-tree
1 change: 0 additions & 1 deletion bundle/lexima
Submodule lexima deleted from 89bf4d
1 change: 1 addition & 0 deletions bundle/pear-tree
Submodule pear-tree added at 3bb209
1 change: 0 additions & 1 deletion pack/editing/start/lexima

This file was deleted.

1 change: 1 addition & 0 deletions pack/editing/start/pear-tree
14 changes: 14 additions & 0 deletions plugin/settings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@ let g:NERDSpaceDelims = 1
let g:NERDComDefaultDelims = 1
" }}}

" {{{ pear-tree
let g:pear_tree_ft_disabled = [
\ 'gitcommit',
\ 'gitsendmail',
\ 'mail',
\ 'man',
\ 'markdown',
\ 'rst',
\ 'text'
\]
let g:pear_tree_smart_openers = 1
let g:pear_tree_smart_closers = 1
" }}}

" {{{ fugitive
command! Gcommend Gcommit --amend --no-edit
let g:fugitive_gitlab_domains = [
Expand Down

0 comments on commit 025f8da

Please sign in to comment.