chimay

joined 2 years ago
[–] chimay@lemmy.world 2 points 1 week ago

cool, feel free to share the link when you're done, all wm-hopper will appreciate!

[–] chimay@lemmy.world 2 points 1 week ago

you're welcome!

 

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

super=Mod4
hc keybind super-t                                                       \
            or , and . compare theme.title_height = 0        \
                     . attr theme.title_height 17                      \
               , attr theme.title_height 0
 

If there is more than one window in current frame, cycle them. Else, go to previous workspace aka tag :

super=Mod4
hc keybind $super-Tab                                           \
            or , and . compare tags.focus.curframe_wcount ge 2  \
                     . cycle +1                                 \
               , use_previous
[–] chimay@lemmy.world 1 points 3 weeks ago (3 children)

I agree that referendums require a well-informed public, exhaustive debate, and a good visibility for each opinion expressed.

Now, they have it in Switzerland without any major problem that I'm aware of, they still can eat apples. :)

 

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

C is one of the top languages in terms of speed, memory and energy

https://www.threads.com/@engineerscodex/post/C9_R-uhvGbv?hl=en

 

C is one of the top languages in terms of speed, memory and energy

https://www.threads.com/@engineerscodex/post/C9_R-uhvGbv?hl=en

 

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 :

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.

Shell vars like $HOME or $HOST are evaluated to their values.

Can be used to quickly deploy all home links in a fresh box.

 

Generalize Orgmode to Markdown and any Folding structure in Vim and Neovim. Supports Org, Markdown and any Folded file.

See the repo for more information.

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