LINUX.ORG.RU

История изменений

Исправление dataman, (текущая версия) :

Какой консольный редактор так умеет?

https://craigbarnes.gitlab.io/dte/

Modern terminal support:

  • Dynamic feature queries (no terminfo database or curses library needed)
  • 24-bit RGB colors
  • OSC 52 clipboard copy (works over SSH)
  • Kitty keyboard protocol (more key combos available for binding)
  • xterm’s modifyOtherKeys keyboard protocol
  • «synchronized updates» (helps eliminate screen tearing)

Кусочек моего конфига ~/.dte/rc:

bind M-b   'match-bracket'
bind C-b   'select -k'
bind M-S-a 'show alias'
bind M-S-b 'show bind'
bind M-S-c 'show color'
bind M-S-e 'show errorfmt'
bind M-S-f 'show ft'
bind M-S-i 'show include'
bind M-S-o 'show option'
bind M-S-w 'show wsplit'
bind M-S-j join

bind tab   'shift 1'
bind S-tab 'shift -- -1'

bind C-down 'blkdown'
bind C-up   'blkup'
bind C-home bof
bind C-end  eof

bind M-down 'search -H -w'
bind M-up   'search -H -r -w'

bind M-left  'prev'
bind M-right 'next'

bind C-S-down 'blkdown -c'
bind C-S-up   'blkup -c'

bind M-S-i 'case'
bind M-S-l 'case -l'
bind M-S-u 'case -u'

bind C-S-1  'case -u'
bind C-S-F1 'case -u'
bind C-S-`  'case -u'

bind C-c 'copy -ibkp'

bind M-S-s 'filter sort -b -V'
bind M-S-r 'filter sort -r -b -V'
bind M-S-t 'filter sed "s/ *$//"'

bind M-C-b 'bookmark'
bind M-C-up 'bookmark -r'
bind M-C-down 'bookmark -r'

bind M-C-? 'erase-word -s'
bind M-? 'delete-word -s'

hi linenumber blue 232
set select-cursor-char false
set statusline-right " %y (%Y),%X %u %o %E%s%b%s%n %t %p "
set show-line-numbers true

cursor insert bar #00ff00
cursor overwrite block #ff0000
cursor cmdline bar

set case-sensitive-search false

Исходная версия dataman, :

Какой консольный редактор так умеет?

https://craigbarnes.gitlab.io/dte/

Modern terminal support:

  • Dynamic feature queries (no terminfo database or curses library needed)
  • 24-bit RGB colors
  • OSC 52 clipboard copy (works over SSH)
  • Kitty keyboard protocol (more key combos available for binding)
  • xterm’s modifyOtherKeys keyboard protocol
  • «synchronized updates» (helps eliminate screen tearing)