Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Foot terminal integration for Kakoune

License

NotificationsYou must be signed in to change notification settings

kkga/foot.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Foot integration forKakoune.

Installation

Addfoot.kak to your autoload or source it manually.

Commands

  • foot-terminal: creates a new foot window
    • alias:terminal
  • foot-terminal-popup: creates a new foot window as popup (see below)
    • aliases:terminal-popup,popup
  • foot-terminal-panel: creates a new foot window as panel (see below)
    • aliases:terminal-panel,panel

Configuration

Options

  • foot_normal_cmd (string): shell command to run forfoot-terminal

    • default:footclient
  • foot_popup_cmd (string): shell command to run forfoot-terminal-popup

    • default:footclient
  • foot_panel_cmd (string): shell command to run forfoot-terminal-panel

    • default:footclient
  • foot_normal_flags (str-list): additional foot flags forfoot_normal_cmd

    • default:''
  • foot_popup_flags (str-list): additional foot flags forfoot_popup_cmd

    • default:'--app-id=popup'
  • foot_panel_flags (str-list): additional foot flags forfoot_panel_cmd

    • default:'--app-id=panel'

The default configuration assumes that foot is running inserver mode and spawns new windows by runningfootclient.

Defaultterminal-popup andterminal-panel commands add specificapp-id'sto the foot window (popup andpanel), which can be used by a window managerfor further adjustments.

For example, inSway the following configuration can work:

exec foot --server# autostart foot serverfor_window [app_id="popup"] floatingenable# float popup windows

Customizing commands and flags

It's possible to override the default options to use custom commands and/orflags for spawning new windows.

Configuration examples

To use a new foot process instead of a server client, add the following in yourkakrc:

set-optionglobal foot_normal_cmd'foot'set-optionglobal foot_popup_cmd'foot'set-optionglobal foot_panel_cmd'foot'

To pass custom flags to foot popup windows:

set-optionglobal foot_popup_flags'--app-id=popup''-o colors.alpha=0.8'# use transparent background for popup

To use a completely different command:

set-optionglobal foot_panel_cmd'sway-panel-term'# use custom command for panelset-option -removeglobal foot_panel_flags# remove default flags

[8]ページ先頭

©2009-2025 Movatter.jp