top | item 45352127

(no title)

sisk | 5 months ago

> No ⌘. sending CTRL-C

This comment sounded familiar[0]. :) For what it's worth, still possible with:

  keybind = "cmd+.=text:\x03"
[0]: https://news.ycombinator.com/item?id=42889411

discuss

order

tambourine_man|5 months ago

Haha, thanks again :)

I've been delaying a major migration to NeoVim on [modern-terminal-I-can-never-decide-which] for years. Wezterm, Ghostty, iTerm2. None is exactly perfect, so I just keep watching them develop.

godelski|5 months ago

I recently migrated from vim to neovim and you can just migrate everything. I forgot where I found this but put this in ~/.config/nvim/init.vim

  " Load vim configs
set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath source ~/.vimrc

Then in my zshrc (well... I organize differently) I have the function

  function _exists() {
    command -v "$1" &> /dev/null
  }

  alias_vim() {
    if (_exists nvim)
    then
        alias vi='nvim'
        alias vim='nvim'
    elif (_exists vim)
    then
        alias vi='vim'
    fi
  }

big_toast|5 months ago

(Surely this issue must've been discussed/debated elsewhere ad nauseum because it seems an odd design decision to leave out such a common macos binding...)

But having only used ghostty as-is and getting bamboozled by the copy paste situation, this is game changing. I was just going to wait till preferences had a GUI/TUI.. So thanks!