Skip Navigation
User banner

chimay

@chimay.lemmy.world.ap.tdpl.io

24 Posts0 Comments0 Memberships

Joined November 2026

  • toggle between grid and max = tab layout

     
    super=Mod4
    hc keybind $super-Tab                                                           \
                or , and . compare tags.focus.tiling.focused_frame.algorithm = max  \
                         . chain - set_layout grid - attr theme.title_height 0      \
                   , chain - set_layout max - attr theme.title_height 17
  • emulate a master and stack layout

    hlwm has no native master layout (with a main window, and a row of small windows below it), but you can easily emulate one. Assuming you've a single terminal open, these calls to herbstclient will do the trick :

     
    alias hc=herbstclient
    hc split bottom 0.618
    hc focus down
    # launch a terminal in the bottom frame
    hc set_layout horizontal
    # launch other terminals

    Of course, you want to bind all these calls to herbstclient to the keys of your choice, then use it on any window. A similar trick can lead you to a main window with a column of small windows on the right.

  • super-t to toggle window titles

     
    super=Mod4
    hc keybind super-t                                                       \
                or , and . compare theme.title_height = 0        \
                         . attr theme.title_height 17                      \
                   , attr theme.title_height 0
  • have super-tab cycle windows or go to last tag/workspace

  • Meta orchestra template

    meta.ly Meta-orchestra containing various instruments and groups. You can use it to build a custom orchestra, by uncommenting or commenting them as needed, in the "book" section, at the end of the file. The melodic themes can be inserted in the "voice" variables. For instance, "voicePianoRight" contains the music of the right hand on the piano.

    Included files

    The files global/*.glob.ly contains the global variables definitions. The files melody/*.mld.ly contains the melodiy variables definitions.

    Examples

    Some example are available in the gitlab repository.

    gitlab.com
  • organ : generalize orgmode to markdown and any folding structure

    Features

    • folding based on headings in org and markdown files • headings based on folding in folded files • you can handle your folds like headings in orgmode • navigate in headings or list items hierarchy • next, previous : any level • forward, backward : same level as current one • parent heading, upper level • child heading, lower level : • loosely speaking : first headline of level + 1, forward • strictly speaking : must be in the current subtree • go to another headline with prompt completion of full path • modify headings or list items • new headline or list item • select, yank, delete subtree • promote, demote heading or list item • move subtree up or down • move current subtree in another one (aka org-refile) • cycle todo status • headlines • tags • lists • cycle list item prefix • toggle checkbox • checked boxes ratio on parent item • tables • inside of table : align columns • also works with multibyte characters • outside of table : align following a pattern • go to next or previous cell • go to beginning or end of cell • duplicate above cell content to current one • select cell content • add new row, colum • delete row, colum • move row up or down • move column left or right • links • store url at cursor • create link with url completion • goto link under or close to cursor • goto next/previous link • expand shortcut to template (aka org-structure-template) • markdown support limited to code blocks • insert timestamp • insert unicode character • refer to autoload/organ/unicode.vim to see available chars • insert result of vim or python expression • export in another format using • pandoc • emacs • asciidoc or asciidoctor • view exported document • convert headings and links org <-> markdown

    github.com
  • wheel : any line in any file is only a few keys away.

    What is it ?

    Wheel is a : • file group manager • navigation plugin • refactoring tool for Vim and Neovim. Our favorite editor has already plenty of nice navigation functions. Wheel enhances their interface by using : • intuitive completion with multi-pattern support for prompting functions • dedicated buffers, in which you can filter and select elements, besides using the full power of your editor • a meta-command with subcommands, actions and completion • edit modes, that allow you to reflect your changes in a dedicated buffer to the original file(s) With these tools, any line in any file is only a few keys away. All is written in lightweight, classical Vimscript.

    Features

    The group manager is the core, but it goes far beyond that : you need a quick navigation framework to travel in the wheel, and once it is there, it’s easy to add new functionalities. • folding based on headings in org and markdown files • headings based on folding in folded files • you can handle your folds like headings in orgmode • navigate in headings or list items hierarchy • next, previous : any level • forward, backward : same level as current one • parent heading, upper level • child heading, lower level : • loosely speaking : first headline of level + 1, forward • strictly speaking : must be in the current subtree • go to another headline with prompt completion of full path • modify headings or list items • new headline or list item • select, yank, delete subtree • promote, demote heading or list item • move subtree up or down • move current subtree in another one (aka org-refile) • cycle todo status • headlines • tags • lists • cycle list item prefix • toggle checkbox • checked boxes ratio on parent item • tables • inside of table : align columns • also works with multibyte characters • outside of table : align following a pattern • go to next or previous cell • go to beginning or end of cell • duplicate above cell content to current one • select cell content • add new row, colum • delete row, colum • move row up or down • move column left or right • links • store url at cursor • create link with url completion • goto link under or close to cursor • goto next/previous link • expand shortcut to template (aka org-structure-template) • markdown support limited to code blocks • insert timestamp • insert unicode character • refer to autoload/organ/unicode.vim to see available chars • insert result of vim or python expression • export in another format using • pandoc • emacs • asciidoc or asciidoctor • view exported document • convert headings and links org <-> markdown

    github.com
  • announcement : link-batch.zsh, to generate symlinks batches

    cross-posted from: https://lemmy.world/post/1838642

    link-batch is a minimalist script that generate symlinks from a list in a text file. Usage :

     sh
    link-batch.zsh link-list.txt

    where link-list.txt contains two columns : the first one for the links and the second one for the targets. Example :

     
    ~/.config/kitty	~/myfiles/config/kitty
    ~/.config/nvim	~/myfiles/config/neovim
    ~/.config/MuseScore	~/myfiles/config/MuseScore/$HOST
    ...

    The two columns must be separated by a tab. Can be used to quickly deploy all home links in a fresh box.