-
Notifications
You must be signed in to change notification settings - Fork 753
OpenBSD
Richard Ulmer edited this page Sep 29, 2019
·
3 revisions
Use GNU's make and the clang compiler to build:
cd kakoune/src
CXX=clang++ gmake
After building Kakoune you can install it as root:
cd kakoune/src
CXX=clang++ doas gmake install
For Kakoune's :new command you will need a setsid executable. Unfortunately there is no port available for this tool, but you can paste this script into $HOME/bin/setsid as a substitute:
#!/usr/bin/env perl
use POSIX;
setsid;
exec @ARGV;
Make this script executable using chmod +x "$HOME/bin/setsid" and make sure $HOME/bin is included in your $PATH.
# Build with debugging symbols:
CXX=clang++ gmake debug=yes
CXX=clang++ doas gmake install
# Start Kakoune as usual and prepare the problem you'll debug.
# Make sure you have the `gdb` package installed. It provides `egdb`.
# Then find the PID of the Kakoune process and start gdb with it:
doas egdb /usr/local/bin/kak 2514
- Normal mode commands
- Avoid the escape key
- Implementing user mode (Leader key)
- Kakoune explain
- Kakoune TV
