imxiejie / ThinkVim

Vim configuration in the 21st century
MIT License
868 stars 106 forks source link

Better to change <sg> - to <sv> in Denite Mode for creating the vertical split. #30

Closed emeentag closed 5 years ago

emeentag commented 5 years ago

What is your expect?

Could be better if we can change keymapping sg to sv for creating the vertical split in denite mode. It makes more sense i think.

What you think?

glepnir commented 5 years ago
    nnoremap <silent><buffer><expr> sg   denite#do_map('do_action', 'vsplit')
    nnoremap <silent><buffer><expr> sv   denite#do_map('do_action', 'split')

sv has defined .

glepnir commented 5 years ago

change s to vsplit . i to split? more like nerdtree. maybe better?

emeentag commented 5 years ago

But s and i has their own funcionality on vim in noraml mode. You mean + s/i?

glepnir commented 5 years ago

in denite mode .we can do this . because these keymap only work on denite filetype.

glepnir commented 5 years ago

change sv to vsplit, si to split