On Fri, Oct 26, 2012 at 08:58:13PM -0700, Wai Yan Pong wrote:
I've just update (10/26) fish from the source codes in github.
However, vi-mode no longer works after the update. For example, echo
$vi_mode returns nothing. Have you experienced the same? any fix?
I have the same problem with the
On Sat, Oct 27, 2012 at 2:58 PM, Wai Yan Pong wypon...@gmail.com wrote:
Hello,
I've just update (10/26) fish from the source codes in github.
However, vi-mode no longer works after the update. For example, echo
$vi_mode returns nothing. Have you experienced the same? any fix?
/me looks
Hello,
I've just update (10/26) fish from the source codes in github.
However, vi-mode no longer works after the update. For example, echo
$vi_mode returns nothing. Have you experienced the same? any fix?
Thanks
Hi,
I've found that '\e' binding (which represents ESC) breaks all other '\eX'
bindings, which is quite sad.
Is it a supposed behavior?
Maxim
On Tue, 26 Jun 2012 15:32:59 +0800, Ian Munsie darkstarsw...@gmail.com
wrote:
On Tue, Jun 26, 2012 at 5:27 PM, Maxim Gonchar gma...@gmail.com
Hi,
Please, add __vi_mode_user call for __vi_mode_g. And other future modes if
they suit.
Maxim
On Thu, 28 Jun 2012 14:27:22 +0800, Maxim Gonchar gma...@gmail.com wrote:
Hi,
I've found that '\e' binding (which represents ESC) breaks all other
'\eX' bindings, which is quite sad.
Is it
On Thu, Jun 28, 2012 at 4:27 PM, Maxim Gonchar gma...@gmail.com wrote:
Hi,
I've found that '\e' binding (which represents ESC) breaks all other '\eX'
bindings, which is quite sad.
Is it a supposed behavior?
They seem to work for me - I can still do alt+b/f, etc in insert mode.
Can you give
On Thu, Jun 28, 2012 at 4:48 PM, Maxim Gonchar gma...@gmail.com wrote:
Hi,
Please, add __vi_mode_user call for __vi_mode_g. And other future modes if
they suit.
Done. I'll try to remember to do this for further modes, but please
remind me if I forget :)
Cheers,
-Ian
--
One more problem: motion commands cause error when commandline is empty.
They seem to work for me - I can still do alt+b/f, etc in insert mode.
Strange. alt+b/f works for me either.
but if i 'bind \ee echo 123 it doesn't work.
Can you try?
Maxim
Can you give me a concrete example of what
Hi,
in normal/multiline mode I,^,_ keys cause cursor to go to the very first
line, instead of current.
Maxim
On Tue, 26 Jun 2012 14:59:02 +0800, Ian Munsie darkstarsw...@gmail.com
wrote:
j/k - to go up/down when editing multiline?
I want that behaviour as well - just need to figure out
On Thu, Jun 28, 2012 at 10:07 PM, Maxim Gonchar gma...@gmail.com wrote:
Hi,
in normal/multiline mode I,^,_ keys cause cursor to go to the very first
line, instead of current.
I already pushed a fix for that on Wednesday - can you check that you
are running the latest version?
Cheers,
-Ian
On Thu, Jun 28, 2012 at 6:18 PM, Maxim Gonchar gma...@gmail.com wrote:
One more problem: motion commands cause error when commandline is empty.
They seem to work for me - I can still do alt+b/f, etc in insert mode.
Strange. alt+b/f works for me either.
but if i 'bind \ee echo 123 it doesn't
Hi,
right, I've missed it. Now it works. Your script now incompatible with
python3.
In order to fix it, you need to add the following line:
from functools import reduce
This also works for python2, so it doesn't break anything.
regards,
Maxim
On Fri, 29 Jun 2012 08:52:29 +0800, Ian Munsie
On Fri, Jun 29, 2012 at 12:02 PM, Maxim Gonchar gma...@gmail.com wrote:
Hi,
right, I've missed it. Now it works. Your script now incompatible with
python3.
In order to fix it, you need to add the following line:
from functools import reduce
This also works for python2, so it doesn't break
j/k - to go up/down when editing multiline?
I want that behaviour as well - just need to figure out how to get it to work
properly with history.
I just discovered the up/down-or-search functions, which are already
pretty close to what I wanted for this. I've changed j k to use them
- let me
It works. By the way, fish prompt is not updated when editing functions or
entering text to read function.
When editing long functions, prompt sometimes is not on the screen.
This is rather fish issue, for now I can not imagine any way to deal with
it.
regards,
Maxim
On Tue, 26 Jun 2012
Hey Maxim,
I've pushed a new version with your changes + suggestions integrated.
A few notes:
- I changed 'functions -e vi_mode_user' to 'functions -q' - I assume
that is what you meant.
- Some indentation whitespace changes - I've added a vi modeline to
try to ensure consistency in the
Hi Ian,
- I changed 'functions -e vi_mode_user' to 'functions -q' - I assume
that is what you meant.
Sure. Funny typo.
The idea here being to distinguish between functions/variables that we
expect a user to access (prefixed with vi_mode_) vs. internal only
functions (prefixed with
Hi Maxim,
On Mon, Jun 25, 2012 at 4:40 PM, Maxim Gonchar gma...@gmail.com wrote:
By the way, are you going to implement also:
^ - first non-space character
Huh, I always thought that was what _ did. But, yes I will implement that.
j/k - to go up/down when editing multiline?
I want that
Btw, I think it worth requesting the binding presets, so there were no
need to rebind keys every time.
I mean something like commands:
bind --preset normal
bind --preset insert
To quickly save load presets.
Other useful option that can be requested is to 'catch the next symbol'
option, which
Hi Ian,
thank you very much for you script. On this stage I already can use it
full time.
I have some notes and remarks:
1) I would propose to call 'print( args )' instead of 'print args' for
python in order your script worked on systems with python3 as default
python.
2) You can set
Hi,
I've updated python's 'print', added colors for mode indicators and added
calling vi_mode_user in the end of
functions, which set vi_mode. You can check the code in the attached file.
By the way, prefixing functions with the same prefix will simplify
splitting the vi-mode.fish in
Hi Everyone,
For those interested, I've just pushed a new version of these bindings.
Now with 1000% more embedded python :-P
IMPORTANT: This now relies on the version of fish in the master
branch, so make sure you are running that before trying this
(otherwise using any direction could cause
Ian, thank you for tackling this!! vi mode is highly desired by other users,
but I don't know enough about it to implement it.
Regarding repainting, does 'commandline -f repaint' work?
_fish
On Jun 21, 2012, at 12:03 AM, Ian Munsie wrote:
your vi-mode works wonderful.
I've only the problem
Regarding repainting, does 'commandline -f repaint' work?
It seems that I need both commandline -f repaint and bind ''
self-insert for it to work.
I'm wondering if the repaint command never goes through without the
default binding set - I tried binding just \xe027 (R_REPAINT if I
added that up
Hi everyone,
I've only just started using fish after asking a colleague what was
doing that funky realtime syntax highlighting in his terminal.
I tried it out, but I'm afraid that the lack of vi-mode was a killer
for me... so I implemented enough of the basic vi commands to get
started :)
You
On Wed, Jun 20, 2012 at 8:14 PM, Maxim Gonchar gma...@gmail.com wrote:
What version of fish do you use? It seems that you use the old version of
fish.
If yes, I recommend you to switch to the latest beta version from
If by 'old' you mean the latest official release, then yes :-)
I was
26 matches
Mail list logo