- Notifications
You must be signed in to change notification settings - Fork750
OpenBSD
Richard Ulmer edited this pageSep 29, 2019 ·3 revisions
Use GNU'smake
and theclang
compiler to build:
cd kakoune/srcCXX=clang++ gmake
After building Kakoune you can install it as root:
cd kakoune/srcCXX=clang++ doas gmake install
For Kakoune's:new
command you will need asetsid
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 perluse POSIX;setsid;exec @ARGV;
Make this script executable usingchmod +x "$HOME/bin/setsid"
and make sure$HOME/bin
is included in your$PATH
.
# Build with debugging symbols:CXX=clang++ gmake debug=yesCXX=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