     :o  "s"     #'evil-surround-edit
 
     ;; Multiple cursors
-    :v  "gi"    #'+multiple-cursors/evil-mc-make-cursor-here)
-
-;; Within ivy
-(map!
+    :v  "gi"    #'+multiple-cursors/evil-mc-make-cursor-here
+
+    ;; Ivy
     (:after ivy
         :map ivy-minibuffer-map
         "C-SPC" #'ivy-call-and-recenter  ; preview file


    :n "C--" #'doom/decrease-font-size
    :n "C-=" #'doom/increase-font-size
    :n "C-0" #'doom/reset-font-size)

;; Project commands
(map! :mode projectile-mode
    :localleader "r" #'projectile-run-project
    :localleader "b" #'projectile-compile-project)

;; Text editing
(map!
    ;; Comments
    :n "gc" 'evilnc-comment-operator
    :textobj "c" #'evilnc-inner-comment #'evilnc-outer-commenter

        :map counsel-ag-map
        "C-SPC"    #'ivy-call-and-recenter ; preview
        "C-l"      #'ivy-done
        [C-return] #'+ivy/git-grep-other-window-action)

    ;; Console
    (:leader :prefix ("c" . "Consoles")
        :desc "Internal (eshell)" :leader "c" #'+eshell/toggle
        :desc "Internal (vterm)"  :leader "t" #'+vterm/toggle
        :desc "Terminal emulator" :leader "e" #'my/open-external-term)

    ;; Windows
    (:leader
        :prefix-map ("w" . "Windows")

        (:prefix ("s" . "Split")
            :desc "Horizontally" "h" #'split-window-right
            :desc "Vertically"   "v" #'split-window-below)
        :desc "Other window" "w" #'other-window
        :desc "Kill window"  "x" #'ace-delete-window)

    ;; Org mode
    (:after org :when (featurep! :lang org) :mode org-mode

        ;; Unmap these because they interfere with window switching
        :n "M-h" nil
