Skip to content

Commit 9481781

Browse files
committed
Kill [f and ]f
1 parent d10c6e7 commit 9481781

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

autoload/rails.vim

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3806,8 +3806,6 @@ endfunction
38063806
" Mappings {{{1
38073807

38083808
function! s:BufMappings()
3809-
nnoremap <buffer> <silent> <Plug>RailsAlternate :<C-U>A<CR>
3810-
nnoremap <buffer> <silent> <Plug>RailsRelated :<C-U>R<CR>
38113809
nnoremap <buffer> <silent> <Plug>RailsFind :<C-U>REfind<CR>
38123810
nnoremap <buffer> <silent> <Plug>RailsSplitFind :<C-U>RSfind<CR>
38133811
nnoremap <buffer> <silent> <Plug>RailsVSplitFind :<C-U>RVfind<CR>
@@ -3822,12 +3820,6 @@ function! s:BufMappings()
38223820
if !hasmapto("<Plug>RailsTabFind")
38233821
nmap <buffer> <C-W>gf <Plug>RailsTabFind
38243822
endif
3825-
if !hasmapto("<Plug>RailsAlternate")
3826-
nmap <buffer> [f <Plug>RailsAlternate
3827-
endif
3828-
if !hasmapto("<Plug>RailsRelated")
3829-
nmap <buffer> ]f <Plug>RailsRelated
3830-
endif
38313823
if exists("$CREAM")
38323824
imap <buffer> <C-CR> <C-O><Plug>RailsFind
38333825
imap <buffer> <M-[> <C-O><Plug>RailsAlternate

doc/rails.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ Two commands, :A and :R, are used quickly jump to an "alternate" and a
208208
:AS either the same window (:A and :AE), a new split
209209
:AV window (:AS), a new vertically split window (:AV), a
210210
:AT new tab (:AT), or read it into the current buffer
211-
:AD (:AD). A mapping for :A is [f .
211+
:AD (:AD).
212212

213213
*rails-:R* *rails-:RE* *rails-:RS* *rails-:RV* *rails-:RT* *rails-:RD*
214214
:R These are similar |rails-:A| and friends above, only
215215
:RE they jump to the "related" file rather than the
216-
:RS "alternate." A mapping for :R is ]f .
216+
:RS "alternate."
217217
:RV
218218
:RT
219219
:RD

0 commit comments

Comments
 (0)