GithubHelp home page GithubHelp logo

vim-hopping's Introduction

It is under development.

hopping.vim

Introduction

Installation

Neobundle / Vundle / vim-plug

NeoBundle 'osyo-manga/vim-hopping'
Plugin 'osyo-manga/vim-hopping'
Plug 'osyo-manga/vim-hopping'

pathogen

git clone https://github.com/osyo-manga/vim-hopping ~/.vim/bundle/vim-hopping

Screencapture

hopping

Usage

" Start buffer line filtering.
:HoppingStart

" Example key mapping
nmap <Space>/ <Plug>(hopping-start)

" Keymapping
let g:hopping#keymapping = {
\	"\<C-n>" : "<Over>(hopping-next)",
\	"\<C-p>" : "<Over>(hopping-prev)",
\	"\<C-u>" : "<Over>(scroll-u)",
\	"\<C-d>" : "<Over>(scroll-d)",
\}

Substitute

hopping

vim-hopping's People

Contributors

osyo-manga avatar hupfdule avatar

Stargazers

Bernd Rothert avatar Brett Robinson avatar addictionWhite avatar Scott avatar yukimemi avatar  avatar  avatar John Thomas avatar Adam Wagner avatar  avatar  avatar I avatar Yuta Katayama avatar 寫詩羊 avatar Kristijan Husak avatar ik5 avatar Francisco Giordano avatar  avatar  avatar Cychih avatar vasy avatar Michael Dwan avatar Paulo Romeira avatar Masaya Takeda avatar aiya000 avatar Manpreet Singh avatar Zac Meadows avatar Angus H. avatar Λlisue avatar LeafCage avatar Phong V. Cao avatar Ryo Murakami avatar yassu avatar Tai Tran avatar David Mejorado avatar GyuYong Jung avatar Michael Wagner avatar Takafumi Hirata avatar mattn avatar Mark Schumacher avatar Jaekyeom Kim avatar Jack Franklin avatar Ryad ZENINE avatar Daniel Kempkens avatar Dylan Harrington avatar Nic West avatar Enrico Ghirardi avatar Lynn Dylan Hurley avatar Nazeeruddin Ikram avatar Morton Fox avatar Hiroyuki Sano avatar L W avatar

Watchers

Manpreet Singh avatar  avatar James Cloos avatar Takafumi Hirata avatar yassu avatar Samir avatar  avatar  avatar

Forkers

xoliver hupfdule

vim-hopping's Issues

Need diffupdate when in diff mode

When using in diff mode (i.e. vim -d a_file b_file), after hopping, the diff color changes and a manual :diffupdate is required. Can you fix this or make it automatic?

Erase of the undo history?

Sorry for this vague issue. But I can't create an example to always reproduce this issue.
The problem is that sometimes when I search with hopping, then the undo history is wholly erased and I get "Already at oldest change" when I type u. I have mbbill/undotree installed, don't know if that's related to this.

I saw vital.vim, which hopping depends on, has some stuff related to undotree. Could this be related?

The preview doesn't work with \<...\>

Hi 😄

おそらく \<TypeIdent\> のような検索パターンを用いると、プレビューにて行フィルターが機能していない気がします……。

peek 2018-12-25 16-52

ダレカタスケテー!!

Can't replace by the empty

Hi 😄

このようなコードがあったとして

function! Foo() abort
   let l:foo = 10
   " ...
endfunction

この関数内の全てのl:プリフィックスを削除したかったのですが

Input:> l://g
(しかし何も起こらなかった)

これを実行した結果、何も起こりませんでした 😩

Thanks.

Showing relative number is duplicated when number configure is setted by 1

I started to use vim-hopping after a long time.
I noticed that Showing relative number is duplicated when number configure is setted by 1.
I maked sure by following vimrc:

" dein {{{
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim

if dein#load_state('~/.cache/dein')
  call dein#begin('~/.cache/dein')

  call dein#add('osyo-manga/vim-hopping')
  call dein#end()
endif
" }}}

set number
set relativenumber

2018-02-03 13 22 52

I maked sure that showing number is not duplicated when only number configure or only relative number is setted by 1.

And version of nvim is following:

yassu@dotfiles  (git:master) $ nvim --version
NVIM v0.2.2
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20171118-94210-1gi9ez6/neovim-0.2.2/build/config -I/tmp/neovim-20171118-94210-1gi9ez6/neovim-0.2.2/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20171118-94210-1gi9ez6/neovim-0.2.2/build/src/nvim/auto -I/tmp/neovim-20171118-94210-1gi9ez6/neovim-0.2.2/build/include
Compiled by [email protected]

Features: +acl +iconv +jemalloc +tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.2.2/share/nvim"

Run :checkhealth for more info

Thanks.

Folding problem

Thanks for the great plugin! However, I have a problem that when using this with folding, the folds will not automatically open. It should be easy to solve this problem by adding set nofoldenable when calling HoppingStart. However, I don't know if it's possible to set foldenable when hopping ends so that the folds restore to the original status?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.