Skip to content

Commit

Permalink
add LocalVimRC command to retrigger sourcing of vimrc files
Browse files Browse the repository at this point in the history
  • Loading branch information
embear committed Sep 25, 2015
1 parent 6282fb1 commit 9122390
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ The plugin can be found on [Bitbucket], [GitHub] and [VIM online].

## Commands

### The `LocalVimRC` command

Resource all local vimrc files for the current buffer.

### The `LocalVimRCClear` command

Clear all stored decisions made in the past, when the plugin asked about
Expand Down
8 changes: 7 additions & 1 deletion doc/localvimrc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Contents ~

1. Introduction |localvimrc-introduction|
2. Commands |localvimrc-commands|
1. The |LocalVimRCClear| command
1. The |LocalVimRC| command
2. The |LocalVimRCClear| command
3. Variables |localvimrc-variables|
1. The |g:localvimrc_file| setting
2. The |g:localvimrc_file_dir| setting
Expand Down Expand Up @@ -54,6 +55,11 @@ The plugin can be found on Bitbucket [1], GitHub [2] and VIM online [3].
*localvimrc-commands*
Commands ~

-------------------------------------------------------------------------------
The *LocalVimRC* command

Resource all local vimrc files for the current buffer.

-------------------------------------------------------------------------------
The *LocalVimRCClear* command

Expand Down
1 change: 1 addition & 0 deletions plugin/localvimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ function! s:LocalVimRCDebug(level, text)
endfunction

" Section: Commands {{{1
command! LocalVimRC call s:LocalVimRC()
command! LocalVimRCClear call s:LocalVimRCClear()

" vim600: foldmethod=marker foldlevel=0 :

0 comments on commit 9122390

Please sign in to comment.