Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dbcli/pgcli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: devadathanmb/pgcli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: development
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 7 files changed
  • 2 contributors

Commits on Mar 1, 2026

  1. feat: add enhanced vim mode with cursor shapes and autosuggestion sup…

    …port
    
    Add comprehensive vim mode enhancements including:
    - Dynamic cursor shapes (block/beam/underline) for vim modes
    - Fish/zsh-style autosuggestion acceptance with 'l' and arrow keys in normal mode
    - Vim-style completion navigation (Ctrl+j/k)
    - Toggle autocompletion with Ctrl+Space
    - Improved key binding documentation in pgclirc
    
    Technical improvements:
    - Idempotent setup_vim_cursor_shapes() with guard flag
    - Extracted _set_cursor_shape() helper to reduce code duplication
    - Fixed string encoding in terminal escape sequences
    - Simplified suggestion handlers by removing redundant checks
    devadathanmb committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    9a9aa62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a88c56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7991d5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0752bba View commit details
    Browse the repository at this point in the history
  5. fix: ESC key closes completion popup and switches to vim normal mode …

    …in one press
    
    Previously in vim mode, pressing ESC with the autocompletion popup open
    would only close the popup, requiring a second ESC to switch to normal
    mode. Now a single ESC press does both:
    - Closes the autocompletion popup
    - Switches to vim normal mode (with block cursor)
    
    The fix splits the ESC binding into two:
    - vi_mode: closes popup AND sets input_mode to NAVIGATION
    - emacs_mode: closes popup only (preserves original behavior)
    devadathanmb committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    6e9292d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90cde04 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c66e3d View commit details
    Browse the repository at this point in the history
  8. feat: Make toggle auto-completion keybinding configurable

    Add toggle_auto_completion_key option to pgclirc that allows users to
    customize the key(s) that toggle the completion menu. Supports multiple
    space-separated keys that each get their own independent binding.
    Defaults to c-space for backward compatibility.
    devadathanmb committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    b53f6ba View commit details
    Browse the repository at this point in the history
Loading