Re: mc macro recording/editing issues

2017-09-19 Thread Yury V. Zaytsev
On Tue, 19 Sep 2017, Sergey Naumov wrote: Also is there a way for macros to get cursor position in a file in a form of offset from the beginning of the file? What I'm trying to achieve is to get some sort of autocompletion for golang using gocode, and it is done like this: I think you

Re: mc macro recording/editing issues

2017-09-19 Thread Sergey Naumov
Also is there a way for macros to get cursor position in a file in a form of offset from the beginning of the file? What I'm trying to achieve is to get some sort of autocompletion for golang using gocode, and it is done like this: # cat pcap-read.go | gocode autocomplete 552 Found 2 candidates:

mc macro recording/editing issues

2017-09-19 Thread Sergey Naumov
Hi All. I'm trying to use macro in mcedit. Man says, that recoded macros should end up in ~/.local/share/mc/mc.macros file. Neither when I record a macro nor when I use "save setup" in mcedit or mc I do no see any updates in mc.macros. If I exit from mc and start it again, recorded macro get