Code Monkey home page Code Monkey logo

Comments (2)

hchbaw avatar hchbaw commented on June 14, 2024

Yes and no 😓

As far as I can tell it doesn't touch vicmd stuff much, so (I hope, too) it should support zsh's builtin stuff like the visual-mode etc automatically.
But on the other hand afu-vicmd might break many things.

Personally, I have been using vicmd keymap along side of bindkey -e for a long time now.
My simplified .zshrc looks like below: (it works for me.)

bindkey -e

autoload -Uz compinit
compinit -C

bindkey '^[^[' vi-cmd-mode # XXX: This is not prefixed "afu+"

echok () {
  echo "\n***${KEYMAP}***"
  zle reset-prompt
}
zle -N echok
bindkey '^X^X' echok
bindkey -M vicmd '^X' echok

source ~/c/auto-fu.zsh/auto-fu.zsh # XXX: Sorry hard coding
zle-line-init () {auto-fu-init;}; zle -N zle-line-init
zle -N zle-keymap-select auto-fu-zle-keymap-select

The keymap afu-vicmd is for customizing vicmd keybindings when using with afu keymap.
In the past I thought it could be useful… But it is not yet necessary for me 😅

You might try to use vicmd keymap directly.

from auto-fu.zsh.

aiya000 avatar aiya000 commented on June 14, 2024

It works for me too!
Very thanks 😄 👍

from auto-fu.zsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.