Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kakoune seems great and I hope I will eventually make the switch from vim but there are currently 3 things holding me back.

1. Slime-like interaction: In vim I'm used to [vim-slime](https://github.com/jpalardy/vim-slime) for interactive languages such as python but I couldn't yet find an equivalent way to do it in kakoune. I suspect there is an easy way to do something like this using `:new` or the tmux integration but I don't know how.

2. Executing commands in the underlying shell: With C/C++ I usually need to work only with a single file and a fast compile-run cycle. I have simple functions defined for compile and run in my vimrc so that I can do it with a simple key map but I'm not sure how to do this in kakoune. The problem is sometimes output of my program exceeds one line so `:echo` is not quite useful here.

3. ctags/cscope integration: I haven't really checked this yet but I need something for jumping around in large codebases.



Hello,

1. that is missing, but mostly because nobody needed it yet, and I am not very familiar with repl style languages. I expect it to be implementable with current features.

2. The simplest way to do that is to set the makecmd option, options can be set per buffer, so each C++ buffer can have it set to the compile command for it. You'll get output in the make buffer.

3. I use ctags a lot, and it is well supported, it requires the readtags command that is provided by default in universal-ctags, and needs to be installed manually with the older exuberant ctags. There is no cscope support script AFAIK (although should be possible).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: