Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Vim in termux have a little issue #453

Open
ghost opened this issue Jun 1, 2023 · 2 comments
Open

[Bug]: Vim in termux have a little issue #453

ghost opened this issue Jun 1, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2023

Extra characters in vim:

I verified that there is an issue with vim when vim-devicons is enabled.

Vim issue:

vim_emojis

Note:

In neovim it works right:
nvim_emojis

Termux system:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=13417
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:

sources.list

deb https://packages-cf.termux.dev/apt/termux-main/ stable main

x11-repo (sources.list.d/x11.list)

deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.38.3
Android version:
11
Kernel build information:
Linux localhost 4.14.186-22735277 #1 SMP PREEMPT Sat Feb 19 02:14:57 KST 2022 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A225M
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.x11 versionCode:11
com.termux.styling versionCode:29

Vim info

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 14 2023 18:28:33)
Included patches: 1-1550
Compiled by builder@412e68abbe54
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
-balloon_eval +fork() -netbeans_intg +termresponse
+balloon_eval_term -gettext +num64 +textobjects
-browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo -toolbar
+cindent +job +popupwin +user_commands
-clientserver +jumplist +postscript +vartabs
-clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall +python3 +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap -ruby +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con +mksession +smartindent +writebackup
+diff +modify_fname -sodium -X11
+digraphs +mouse -sound -xfontset
-dnd -mouseshape +spell -xim
-ebcdic +mouse_dec +startuptime -xpm
+emacs_tags -mouse_gpm +statusline -xsmp
+eval -mouse_jsbterm -sun_workshop -xterm_clipboard
+ex_extra +mouse_netterm +syntax -xterm_save
+extra_search +mouse_sgr +tag_binary
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/data/data/com.termux/files/usr/share/vim"
Compilation: aarch64-linux-android-clang -c -I. -Iproto -DHAVE_CONFIG_H -I/data/data/com.termux/files/usr/include -fstack-protector-strong -Oz -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: aarch64-linux-android-clang -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -o vim -lm -lncursesw -liconv -L/data/data/com.termux/files/usr/lib/python3.11/config-3.11/ -lpython3.11 -ldl -lpthread -lm

Neovim info:

NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/data/data/com.termux/files/usr/share/nvim"

@Unicornssss7428
Copy link

Unicornssss7428 commented Sep 14, 2024

I am having the same issue using Wezterm. I switched my font from one NerdFont to another. The issue did not go away, but the characters output did change. This is most likely a font issue, which fonts work with my terminal and this plugin I've yet to figure out. I'll reply with a fix if I can find a font that works.

Although, after switching the font and opening up Gnome-Terminal it works just fine and did not before.

@oliverhr
Copy link

It seems the project is unmaintained or I'm wrong? I am not complaining just checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants