GithubHelp home page GithubHelp logo

Comments (8)

xaizek avatar xaizek commented on June 3, 2024

Compare output of echo $TERM and locale inside and outside of tmux. $TERM should be tmux* (or if not available: screen*) and locale shouldn't differ and use UTF-8.

from vifm.vim.

neumachen avatar neumachen commented on June 3, 2024

It seems I had to set the vifm_term to tmux if it's inside the tmux shell.

from vifm.vim.

neumachen avatar neumachen commented on June 3, 2024

Also, it seems after I open SQL files the locale vars get changed to "C".

from vifm.vim.

xaizek avatar xaizek commented on June 3, 2024

It seems I had to set the vifm_term to tmux if it's inside the tmux shell.

You're already in tmux, running it second time isn't really a good idea and tmux vifm won't actually work.

Also, it seems after I open SQL files the locale vars get changed to "C".

That might be the cause (similar issue was #48).

from vifm.vim.

neumachen avatar neumachen commented on June 3, 2024

I learned more about this, it seems the issue is caused by this plugin, https://github.com/voldikss/vim-floaterm. I just don't know how it's changing the LANG vars. But I'm not 100% because what I've noticed is, when I open vifm for the first time inside VIM, it's okay. But once I open a file, that's when things go wonky.

from vifm.vim.

xaizek avatar xaizek commented on June 3, 2024

Looks like it sets up environment variables here and something goes wrong (accidentally resets LC_* variables for example). If that's the issue, you should create an issue in that repository as it's only indirectly related to Vifm.

from vifm.vim.

neumachen avatar neumachen commented on June 3, 2024

So what exactly is the fix here? Remove the plugin? Because I think I did that already.

from vifm.vim.

xaizek avatar xaizek commented on June 3, 2024

If the plugin causes this, it can probably be fixed. If it's not the plugin, need to find an actual cause. You can temporarily leave only vifm.vim and comment out contents of vimrc to see if anything changes.

from vifm.vim.

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.