|
Project Information
Members
Links
|
DESCRIPTION Introduction: a basic idea is easy pressable key, and quickly switchable search type . Basic Usage: Default defined key map is spinner.vim search mode is switching, when you press Spinner Search Mode Details: 1.open next/previous buffer (initial) .
same with :bnext, :bNext . 2.open next/previous file in currently opened file directory .
opening files are searched in currently opened file directory. current test version use code from nextfile : open the next or previous file (vimscript #2605) 3.open next/previous most recently edited file (last 10 files) .
recently edited file path are stored at openinig file (limit 10 item). stored file is placed at$HOME/.vim_spinner_mru_files , or $VIM/.vim_spinner_mru_files , or $USERPROFILE/vim_spinner_mru_files . current test version use code from mru.vim : Plugin to manage Most Recently Used (MRU) files (vimscript #521) 4.open next/previous tab .
same with :tabnext, :tabNext . 5.open next/previous window .
6.open next/previous quickfix line .
same with :cnext, :cNext . 7.open next/previous quickfix file .
same with :cnfile, :cNfile . Other Usage: switch search mode with number. this key map display current spinner search mode. Configurations: Action Key Map: let g:spinner_nextitem_key = {mapping} let g:spinner_previousitem_key = {mapping} let g:spinner_switchmode_key = {mapping} let g:spinner_displaymode_key = {mapping} for example, let g:spinner_nextitem_key = ',n' let g:spinner_previousitem_key = ',p' let g:spinner_switchmode_key = ',s' let g:spinner_displaymode_key = ',d' caution!! default mapping is for GUI. default mapping do not work on Windows DOS prompt, PowerShell, Mac OSX Terminal,,, Initial Search Type: let g:spinner_initial_search_type = {seach type number} for example, let g:spinner_initial_search_type = 2
2 : same_directory_file 3 : most_recently_edited 4 : tab 5 : window 6 : quickfix 7 : quickfix_file Source Repository: https://code.google.com/p/spinner-vim-plugin/install details 1. open spinner-vim-plugin.vba with Vim editor. 2. extract spinner-vim-plugin with :source command. source % |