ryvnf / readline.vim

Readline emulation for command-line mode
88 stars 2 forks source link

Implement C-@and C-x C-x mark mappings #1

Closed ryvnf closed 6 years ago

ryvnf commented 6 years ago

It is possible to implement the C-@ (set mark) and C-x C-x (exchange point and mark) commands from Readline.

Problems with implementing these mappings it is difficult to ensure the mark is in sync when the user changes to another line in history. Readline will reset the mark to column 0 each time the user changes to another line in history, this is difficult to achieve from Vim.

Also don't think these mappings are widely used, so it might not be the best idea to implement these in readline.vim, if the intention is to keep the plugin small and simple.

ryvnf commented 6 years ago

I have no intention of adding these plugins right now. So I close this issue.