New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buffer # keymap #811

Closed
wants to merge 1 commit into
base: dev
from

Conversation

Projects
None yet
4 participants
@zhujinxuan
Contributor

zhujinxuan commented Aug 29, 2017

Add keymap SPC b # to command buffer # to open the previously opened buffer. I think it is quite a useful command especially when you open multi-buffers but temporally focus on two buffers.

@CLAassistant

This comment has been minimized.

Show comment
Hide comment
@CLAassistant

CLAassistant Aug 29, 2017

CLA assistant check
All committers have signed the CLA.

CLAassistant commented Aug 29, 2017

CLA assistant check
All committers have signed the CLA.

@Motardo

This comment has been minimized.

Show comment
Hide comment
@Motardo

Motardo Aug 29, 2017

Contributor

Hi @zhujinxuan, Is this different from SpaceTab in the code below?

call SpaceVim#mapping#space#def('nnoremap', ['<Tab>'], 'try | b# | catch | endtry', 'last buffer', 1)

Contributor

Motardo commented Aug 29, 2017

Hi @zhujinxuan, Is this different from SpaceTab in the code below?

call SpaceVim#mapping#space#def('nnoremap', ['<Tab>'], 'try | b# | catch | endtry', 'last buffer', 1)

@zhujinxuan

This comment has been minimized.

Show comment
Hide comment
@zhujinxuan

zhujinxuan Aug 30, 2017

Contributor

@Motardo not different. Sorry I did not notice that .

Contributor

zhujinxuan commented Aug 30, 2017

@Motardo not different. Sorry I did not notice that .

@wsdjeg

This comment has been minimized.

Show comment
Hide comment
@wsdjeg

wsdjeg Aug 30, 2017

Member

@zhujinxuan I think SPC b # is hard too press, we need to press SPC b Shift + 3, It is hard than :b#, also hard than SPC tab.

but SPC b # is easy to understand, we can keep this PR open, and if there are some other people also like this mapping, we can merge it.

Member

wsdjeg commented Aug 30, 2017

@zhujinxuan I think SPC b # is hard too press, we need to press SPC b Shift + 3, It is hard than :b#, also hard than SPC tab.

but SPC b # is easy to understand, we can keep this PR open, and if there are some other people also like this mapping, we can merge it.

@wsdjeg wsdjeg closed this Sep 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment