You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.org
+22
Original file line number
Diff line number
Diff line change
@@ -2838,3 +2838,25 @@ require('orgmode').setup({
2838
2838
}
2839
2839
})
2840
2840
#+end_src
2841
+
2842
+
*** Input
2843
+
:PROPERTIES:
2844
+
:CUSTOM_ID: input
2845
+
:END:
2846
+
- Type: =boolean=
2847
+
- Default: =false=
2848
+
2849
+
By default, Vim's built-in =input()= function is used for input prompts.
2850
+
To use Neovim's =vim.ui.input()= function, add this to config:
2851
+
2852
+
#+begin_src lua
2853
+
require('orgmode').setup({
2854
+
ui = {
2855
+
input = {
2856
+
use_vim_ui = true
2857
+
}
2858
+
}
2859
+
})
2860
+
#+end_src
2861
+
2862
+
📝 NOTE: If you are using a plugin for =vim.ui.input=, make sure it supports autocompletion for better experience. [[https://github.com/folke/snacks.nvim][snacks.nvim]] input module supports autocompletion.
0 commit comments